PHP is a server-side scripting language, used for building browser-based applications. This includes websites as well as programs that don't really need any form of interaction with the user.

learn more… | top users | synonyms (2)

0
votes
0answers
17 views

Open dir not working php

I am running Ubuntu 14.04 and I have a running apache2 server where the following php code: <?php $dir = opendir("/var/www/html/test") or die("Error type 1"); //Code here closedir($dir); ?> ...
0
votes
0answers
13 views

install FRAPI in ubuntu 14.04

As i am new in it, after installation when run the link on my local /frapi/src/frapi/admin/public/ face this error. Call to undefined function apc_fetch() in ...
0
votes
1answer
31 views

How can I find out my current mail server for Ubuntu 10.04

I am very new to linux and I set this up a while ago. I am now having problems sending mail to uncommon domains. For example my PHP scripts will send emails to yahoo, gmail, etc. etc. without problem. ...
1
vote
1answer
447 views

Cannot create file in /var/www/html

I am running Ubuntu version 14.04, and I have an apache2 server set up to host some php files on localhost that are stored in /var/www/html. When I try to execute the following code in one of my php ...
1
vote
0answers
87 views

Server slow after Nginx errors and restarting PHP

I have a server with Intel Xeon 2xE5520 2.27GHz, 48 GB Ram, 2x146 GB 15K HDD (Raid) OS Ubuntu 14.04.01, Nginx 1.6.2, PHP 5.5.9, MySQL. Webmin. My website is video portal. Traffic is approximately ...
0
votes
0answers
63 views

Test Mail Server Tool

I've finally moved to Ubuntu 14.04 from Windows. I had xampp installed for web development. For testing of sending/receiving emails I used this tool ...
0
votes
0answers
30 views

Running a php website

I have apache2, php5 and libapache2-mod-php5 installed. And a website written in PHP, it's located in my documents in a some folder, say, ~/Documents/my_website. When I go to localhost/index.html, it ...
0
votes
1answer
414 views

How to install Horde Webmail on Ubuntu 14.04?

Am using Ubuntu 14.04. Am stuck with the following issue: My goal is to install and have running HORDER GROUPWARE 5.2 on my Domain/Hosting: Download on Github: https:// github ...
0
votes
0answers
64 views

Php5 Mcrypt still not working on Ubuntu 14.04

I installed php 5.5.9 and mysql 5.5.4 with nginx on a new aws instance running Ubuntu 14.04. I tried to install php5 mcrypt but it either doesnt recognise its installed or breaks apache. It seems ...
0
votes
2answers
75 views

Installing LAMP - PHP not connecting with MySQL - Why?

Am followoing this amazingly simple LAMP tutorial http://ubuntuserverguide.com/2014/06/how-to-install-lamp-in-ubuntu-server-14-04-lts.html Installing Apache Installing MySQL Installing PHP The ...
0
votes
1answer
53 views

LAMP installation

I would like to setup LAMP on my box, I installed apache2,mysql-server,php5&libapache, restarted apache with sudo /etc/init.d/apache2 restart, succesfully executed php -r 'echo "\n\nYour PHP ...
1
vote
1answer
37 views

email - Postfix name issue with using $header “name <email>”

I've set up Postfix on my Ubuntu+Nginx machine to send mail and I'm running in to one issue. The issue is that the from name is www-data with the email ...
0
votes
0answers
59 views

Mysql connection error

I'm newly installed Ubuntu 14.04 on my system. And I individually installed apache2, mysql 5.6.19 and PHP Version 5.5.9-1.whenever I connect to database it's giving error in the console window like ...
0
votes
1answer
597 views

libapache2-mod-php5 : Depends: php5-common

I installed php5.5 and upgrade Ubuntu from 12 to 14. Now the system isn't working. I did sudo apt-get upgrade && sudo apt-get install libapache2-mod-php5 But got The following packages ...
-1
votes
1answer
65 views

How to remove completely the php packages from ondrej PPA?

I have Ubuntu 14.04, wanted to try php5.6. Added ppa:ondrej/php5-5.6. Updated. Installed php5. Got php5.6. Did not find some extensions and decided to switch back to ubuntu's own php 5.5. Deleted ...
0
votes
1answer
47 views

Why does Firefox repeatedly open new tabs when I open a .php file?

I do web development and design. I've just set up my PC (Ubuntu 14.04 LTS) and installed my choice of software. On the .php files I set Firefox as the default software to open with but now it opens ...
0
votes
0answers
96 views

How to resolve this error I got after PHP version upgrade “The apache2 configtest failed.”?

I'm using ubuntu Linux 12.04 LTS on my machine. I was using PHP 5.3.10 Now I upgraded to PHP 5.5.18 by using few commands on terminal. After I upgraded to latest PHP version I checked the version by ...
1
vote
0answers
44 views

How to disable mpm-itk for a specific virtualhost?

I've a main site on a server that needs to run a sudo command which I white listed via visudo. That worked fine until I installed apache-mpm-itk and then I started getting the following error: sudo: ...
0
votes
2answers
33 views

Run PHP script from command line?

How can I Simply Run a php script in the command line? Also is it possible to run it like it would be if the Url was typed in?
-1
votes
1answer
54 views

phpMyAdmin doesn't work when installing from repo

I've just installed phpMyAdmin via apt-get and rebooted. When i enter '127.0.0.1:3306' into web browser, i get something like this: I'm totally new to mysql but quite experienced with linux. How ...
0
votes
0answers
24 views

access denied from local host

Ok, I've set up my server and have been having fun designing my website. At the moment I've got several php files that access my MySQL databases. everything is ok client side and the php has no ...
2
votes
0answers
27 views

Could I recompile php after install with apt-get?

the title says a lot I guess, I want to install my lamp serve with: apt-get install lamp-server^ And after that I want to recompile the php to add the pthreads, it is possible install the lamp ...
0
votes
0answers
15 views

Different php versions in ubuntu after installing one php

I've installed php 5.5.17 by downloading tar file and following steps of ./configure and make and make install. Then I installed some apache and php modules. When I search php -v in terminal it shows ...
0
votes
0answers
25 views

.aspx and .php pages not calling during play dynamic .swf content

.aspx and .php pages not calling during play dynamic .swf content using lighttpd and php5 in ubuntu 14.04. The flash content hit the url like ...
0
votes
0answers
96 views

php-gd is not working

I'm running Ubuntu 14.04 with php 5.5.9 and i keep getting this message Fatal error: Call to undefined function imagecreatefromjpeg() I've tried everything possible from reinstalling php5-gd, ...
0
votes
0answers
78 views

How can I resolve package conflicts when installing old version of PHP with apache2?

I have a legacy app which requires a specific version of php. I've downloaded debs for php, pear, etc. from old-releases.ubuntu.com, and I am writing a script to install them when provisioning a ...
0
votes
1answer
69 views

pg_dump won't run through PHP

This question has been addressed in various other posts but they don't seem to help me out. My issue is that I run the following script: $strBK = '/usr/bin/pg_dump --host localhost --port 5432 ...
0
votes
0answers
12 views

my browser is downloading .php files instead of loading them [duplicate]

i already have install all the softwares like apache 2, mysql, php5, phpmyadmin, database. but my browser is just downloading .php files instead of loading them, and on loading localhost/phpmyadmin. ...
0
votes
1answer
24 views

What php version does ubuntu 14.04 officially support?

So simple question in the title, but did not find on google or in there. Or if there is - maybe you can give keywords on how to find this information.
0
votes
1answer
96 views

ubuntu LAMP server can't create new .conf file and configure

I have the LAMP server on Ubuntu 14.04. I came to know about the php laravel framework. So I just installed laravel by going from this link. I just made copy the 000-default.conf file from the path ...
1
vote
1answer
966 views

Apache2 start error when using php5 module ( Ubuntu Server)

I am using Ubuntu Server. When I start apache2 everything is fine, but when enabling php5 module and restarting apache2 I get this error: ERROR: *** Restarting web server apache2 ...
0
votes
0answers
132 views

Ubuntu downgrade PHP 5.5.17 to 5.5.16

There is a bug in PHP 5.5.17 which is preventing me putting something into production. I need to downgrade to 5.5.16. I have php5-cli and php5-fpm through apt-get. How can I remove 5.5.17 and install ...
0
votes
0answers
17 views

How to build php from source with a custom name

I have PHP 5.5 running on my Ubuntu 14.04x64 server using PHP5-FPM that's bound on port 7501 and would like to run PHP 5.6 concurrently on the same server with it's own location and it's own package ...
0
votes
0answers
45 views

Where do the extensions of self compiled PHP on ubuntu 14.04 go?

I downloaded PHP 5.3.29 and configured it with the following options: ./configure' '--with-apxs2=/usr/bin/apxs2' '--enable-ftp' '--enable-mbstring' '--with-mcrypt' '--with-mysql' '--with-mysqli' ...
1
vote
0answers
96 views

On terminal I see PHP 5.3.29, but in browser I am getting PHP 5.5.9. Please help

I want to install php 5.3.29 in Ubuntu 14.04. I have tried following this post: Installing PHP 5.3 in Ubuntu 14.04 Got it work. I am getting php version as 5.3.29 while I am in terminal. I created ...
0
votes
2answers
64 views

When I try to acess my websitefolder in Ubuntu Im getting a blank page

I recently installed Ubuntu and I'm a php developer. And I'm trying to use Ubuntu for this purpose. I already installed mysql-server and phpmyadmin and I can already access the localhost. And also ...
0
votes
0answers
160 views

setup mod_proxy_fcgi phpmyadmin on apache php-fpm chrooted user

I have PHP5-FPM + mod_proxy_fcgi (chrooted) running on Apache2 (mpm_worker) Ubuntu 14. By this every vhost user is chrooted to there home dir "/var/www/html/domain.com/public_html/". Here php in ...
0
votes
0answers
39 views

exec PHP and Rscript

I'm completly new to ubuntu, well more precisely i am using xubuntu. The point is that i want to run a program.R using Rscript in PHP. I can do it on a terminal writing something like Rscript ...
0
votes
0answers
246 views

dpkg: error processing package libapache2-mod-php5

I have a problem at moment of use my apt-get/aptitude package manager When I want install some packages I get the following output: sudo aptitude install libxslt1.1 libxml2 The following partially ...
0
votes
0answers
53 views

cakePHP project's sub-directory cannot be access in ubuntu server but it works fine for others

My CakePHP Project's root .httaccess file is given below, <IfModule mod_rewrite.c> RewriteEngine on #Rewritebase /my_project RewriteRule ^test_folder/(.*) test_folder/$1 [L] ...
0
votes
1answer
737 views

How to make Curl and PHP available when installed from Xampp

I have installed a recent copy of XAMPP on Ubuntu 14.04. However, when I issue this command: curl -sS https://getcomposer.org/installer | php I get the following error messages: The program ...
0
votes
1answer
77 views

htaccess, how to hide php extensions

I am trying to use the .htaccess file to hide php extensions but it doesn't seem to be working. It does work if there is a html file in the directory and I don't use the .html extension. This is ...
0
votes
1answer
46 views

Replace DEB.SURY.ORG PHP with original

I added Ondřej Surý's repository which was a great help at the time. Now I have issues installing cURL and I think returning to "original" PHP would solve the problem. Currently all my PHP packages ...
0
votes
1answer
33 views

get php info for apache 2 [closed]

I want to see my php information on my apache2, how I can configure to see php info? your help and information is great appreciated,
1
vote
1answer
59 views

Php not running for fog web management server

I am making an imaging server for my computer engineering course. I have installed ubuntu server 12.04 32bit on the dual processor server, then I upgraded using d-release-upgrade to 14.04. I then ...
4
votes
3answers
1k views

When will PHP 5.6 be in the official Canonical repos?

I imagine it won't up until 14.10 is released, but even if that is the case, could we expect to see it show up in the repos that 14.04 uses?
0
votes
1answer
214 views

How to upgrade softwares from currently installed LAMP on a 64-bit Ubuntu 12.04 LTS system? Please provide me the step-by-step instructions

Someone had installed LAMP on my machine almost two(2) years back. I got this machine since last six(6) months. The LAMP is working fine for all of the PHP project work I do. But the issue is all the ...
0
votes
1answer
71 views

Cannot get nginx to render my WordPress site

I am new to nginx but I followed religiously all the tutorials and tried to setup my WordPress site but I have an issue at the moment I cannot resolve. Basically I have the following configuration in ...
1
vote
0answers
14 views

locate [file] but go to directory, it's not there [duplicate]

I am root. I have PHP webpage on Apache 2 server putting .stl files in /var/www/upload using move_uploaded_file( 'from', 'to' ) When I use locate, I see the file is in /var/www/upload When I cd to ...
0
votes
1answer
40 views

Allow PHP for accessing filesystem [closed]

I'm a newbie and I have installed Linux Mint (x64 Ubuntu-based) and Apache v2.0, PHP 5.5.9 and MySQL. Then I installed WordPress and I was almost unable to upload and edit files (I got "Permission ...