Pre-built alternative PHPs are available from 3rd party vendors, i.e. PHP Panda! Multi-PHP installer for Plesk from Atomic can be very helpfulTI hate compiling out of source so much. If only there was an RPM for this (PLEASE TELL ME IF THERE IS)
Pre-built alternative PHPs are available from 3rd party vendors, i.e. PHP Panda! Multi-PHP installer for Plesk from Atomic can be very helpful
Thanx for information.
When I execute your scripts there's a error:
Requires: libfbclient.so.2()(64bit)
any suggest?
Hello,
I'm trying to install an additional PHP version (v5.5.3) onto a Linux Server (Ubuntu 10.04 LTS.) I followed the instructions at
http://download1.parallels.com/Ples...inistrator-guide/index.htm?fileName=72042.htm
and can now select the new PHP version for a site, but requesting a PHP file returns a 500 error and I can find log entries:
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
Premature end of script headers: phpinfo.php
The existing PHP version is 5.3.3, if that's relevant.
Can anyone assist me in troubleshooting? In particular, what parameters should I specify on the "./configure [...]" step? I want the new PHP version running with the same capabilities as the old one. How can I find out what needs to be included?
Regards
I'm having this exact same problem. The solution saying to run as an Apache module makes no sense nor can I even set it to that (I can only php_handler it to either cgi or fastcgi) and I've ruled out that building from source isn't my issue but rather most likely Plesk not playing very nicely since the upgrade to 11.5 from 11.0.9 as I feel hinted towards from other posts/threads. I've been searching around quite a lot and have wasted far too much time about this with absolutely no luck, so if anyone can help point OP and I towards other solutions, please do!
Thanks
I have been having this same problem when trying to compile and install PHP v 5.5.7 on Ubuntu 10.04 LTS and at last I have it working
The configure command that eventually worked was
./configure --prefix=/usr/local/php557 --with-curl --with-gd --with-mysql --with-mysqli --with-pdo-mysql --enable-mbstring --enable-calendar --with-config-file-scan-dir=/usr/local/php557/php.d
Then there is a problem in Plesk with the supplementary php.ini file that it generates automatically each time you change the version of PHP in hosting plan settings. This was trying to set Safe Mode to be On, also trying to set a value for open_basedir. So I created an edited version of this file which I uploaded to replace the automatically generated one at /var/www/vhosts/systems/<mydomain.com>/etc/php.ini. This change enabled PHP 5.5.7 to run.
Does anyone know where this php.ini file comes from? I would like to change it at source.
I have been having this same problem when trying to compile and install PHP v 5.5.7 on Ubuntu 10.04 LTS and at last I have it working
The configure command that eventually worked was
./configure --prefix=/usr/local/php557 --with-curl --with-gd --with-mysql --with-mysqli --with-pdo-mysql --enable-mbstring --enable-calendar --with-config-file-scan-dir=/usr/local/php557/php.d
Then there is a problem in Plesk with the supplementary php.ini file that it generates automatically each time you change the version of PHP in hosting plan settings. This was trying to set Safe Mode to be On, also trying to set a value for open_basedir. So I created an edited version of this file which I uploaded to replace the automatically generated one at /var/www/vhosts/systems/<mydomain.com>/etc/php.ini. This change enabled PHP 5.5.7 to run.
Does anyone know where this php.ini file comes from? I would like to change it at source.
and can now select the new PHP version for a site, but requesting a PHP file returns a 500 error and I can find log entries:
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
Premature end of script headers: phpinfo.php
/usr/local/psa/bin/php_handler --list
id: display name: full version: version: type: cgi-bin: php.ini: custom:
module 5.3.15 5.3.15 5.3 module /usr/bin/php-cgi /etc/php5/fastcgi/php.ini false
fastcgi 5.3.15 5.3.15 5.3 fastcgi /usr/bin/php-cgi /etc/php5/fastcgi/php.ini false
cgi 5.3.15 5.3.15 5.3 cgi /usr/bin/php-cgi /etc/php5/fastcgi/php.ini false
fastcgi5427 5.4.27 5.4.27 5.4 fastcgi /usr/local/php5427/bin/php-cgi /etc/php5/fastcgi/php.ini true