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
13 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
20 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
53 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
61 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
50 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
23 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
63 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
524 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
113 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
32 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
69 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
59 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
142 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
25 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
206 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
44 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
233 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
65 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
45 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
53 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
847 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
136 views

How to upgrade softwares from currently installed LAMP on Ubutu 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
59 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
37 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 ...
0
votes
1answer
1k views

phpmyadmin not found

I am using ubuntu 14.04. I have made setup LAMP by going through step by step what in this link. For apache I mean http://localhost all the files are working fine . But when I am doing ...
0
votes
1answer
97 views

permission denied access php5 folder

I wanted to access files php5 folder on \var\lib\php5, but I got permission denied. I use Ubuntu 14.04 LTS. Is it Ubuntu lock the permission for the folder and need root access? Your help and ...
0
votes
2answers
2k views

Forbidden You don't have permission to access /phpmyadmin on this server

I installed php, mysql, phpmyadmin on my Ubuntu 12.04 localhost in the following steps: I try these steps: sudo apt-get install apache2 sudo /etc/init.d/apache2 restart sudo apt-get install php5 ...
0
votes
1answer
54 views

Alternatives to Cron

I'm doing a server running Ubuntu Server 12.04 and Apache. The users have continuous updates in the dinamic pages through a Java script, downloading JSON files through Ajax request to server. All the ...
0
votes
1answer
109 views

Ubuntu - Is it normal that my apache webroot is in html directory [duplicate]

I have installed PHP, MySQL, and Apache in my machine by following this tutorial. I created one file info.php to test if php is working on my apache server, but I go message file not found. Then, I ...
0
votes
1answer
221 views

Cannot install libapache2-mod-php5 because of unmet dependencies

I have a vagrant box that installs php 5.3.28 and most php libraries dpkg -l |grep '^ii' |grep php ii php5-cgi 5.3.28-1~dotdeb.0 server-side, HTML-embedded ...
0
votes
0answers
75 views

Install PECL_HTTP

I'm close to the madness with this problem. I need to use the HttpRequest class on PHP, I've followed the steps on this site Ubuntu PECL HttpRequest installation, but when run the sudo pecl install ...
0
votes
1answer
79 views

to render a simple html file in localhost

I am going through the david malan lecture on php,, So I have created a simple google.html file on /public_html/google.html which is as follows: anupam@JAZZ:~/public_html$ more google.html ...
-1
votes
1answer
1k views

Best IDE for php/web developement in Ubuntu [duplicate]

Can anyone suggest an IDE for php development in ubuntu 14.04. In Netbeans fonts looks narrow and ugly. Is there anyother alternative ? What about Aptana Studio 3 ?
0
votes
1answer
33 views

PHP5-FPM w/Apache2 FastCGI Error -1 Copy file failed

I'm using php5-fpm with apache2 and I'm receiving the below error message. FastCGI: comm with server "/var/lib/apache2/fastcgi/php5.fcgi" aborted: error parsing headers: invalid Status '-1 Copy file ...
1
vote
0answers
117 views

Crontab not executing script with cURL

I have a cron that's set to run every ten minutes that works fine if I execute the file manually by entering php register.php But, my cron will not execute this file once it includes anything cURL ...
0
votes
0answers
20 views

Installing PHP 5.4 instead of 5.5 on Ubuntu Server 14.04 [duplicate]

Any one please suggest commands to install PHP 5.4 instead of PHP 5.5 that comes default with Ubuntu server 14.04 For some compatibility issues i want to install PHP 5.4 not 5.5. I have a fresh ...
0
votes
1answer
41 views

apache broke after upgrading

I tried to upgrade my php version with the help of this and somehow the apache version also upgraded. After this upgrade I got a lot of errors obviously and I managed to solve lots of them except this ...
1
vote
1answer
35 views

Can I debug PHP scripts running in Apache on Ubuntu?

Coming from the Microsoft world, where Visual Studio, Windows, and IIS seemingly play nice together, I can attach the Visual Studio debugger to the IIS process and debug code in play. When a web ...
0
votes
0answers
44 views

“php-clamav: depends on: phpapi-20090626+lfs but it is not going to be installed”

I want to install "php-clamav" . But... msy@msy-Inspiron-One-2020:~$ sudo apt-get install -f php-clamav 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是 ...
1
vote
1answer
61 views

Why won't this php script execute bash script?

Why am I not able to execute this bash script using php? I have tried exec() as well as shell_exec(). index.php <?php $old = getcwd(); echo $old; chdir($old); $message=exec("a.sh"); ...
0
votes
0answers
49 views

PhpMyAdmin wont let me log in without password

I am preparing a Vagrant box to develop websites and I wanted to install phpmyadmin, to log in just as "root", no password needed, since it is just for development, but whenever I try it, I get the ...
0
votes
2answers
206 views

testphp.php 404 Not Found

I installed LAMP Server. I can access http://localhost. I can also run successfully phpmyadmin. But when I go to http://localhost/testphp.php, I get a 404 not found. The file is in ...
0
votes
1answer
576 views

Downgrading PHP from 5.5 to 5.3 on Ubuntu 14.04

now, I know that this question has been asked tons of times over the internet, but I followed lots of tutorials on the argument without being able to get to the answer. This is my situation: Ubuntu ...
1
vote
1answer
587 views

Apache + php5 problem after 12.04.3 to 14.04.i do release upgrade (server)

I did a 'do-release-upgrade' Most upgrade went fine. But the upgrade from Apache 2.2.22 to 2.4.7 went wrong. There seems to be something wrong with the php5 apache module. I get the following error ...
0
votes
1answer
245 views

Installing mysql-server gives 504 Gateway Time-out

So I have this site im coding on that requires a database and is based on PHP. So for this site i installed phpmyadmin that also installed mysql-server. Before I installed phpmyadmin I didn't get a ...
0
votes
0answers
156 views

I'm not sure if LAMP on my Ubuntu 14.04.1 works correctly

I installed LAMP on Ubuntu 14.04.1 following this guide. However, when I go to http://localhost/testing.php/ from the browser, all I get is this: Not Found The requested URL /testing.php/ was not ...