• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Mulitply PHP-Versions

DominikT

New Pleskian
Hi,

http://download1.parallels.com/Ples...inistrator-guide/index.htm?fileName=72042.htm
I followed this tutorial to install an second version of PHP on Plesk 11.5. All works fine when was installing and integration into Plesk. I´m able to change the version form 5.3.1 to 5.2.17 in hosting-configuration. But when I switch, I get an 500 Internal Error. The logfile says:
[Wed Sep 04 11:34:39 2013] [warn] [client xx.xx.xx.xx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Wed Sep 04 11:34:39 2013] [error] [client xx.xx.xx.xx] Premature end of script headers: info.php

I think there is something additional I have to do, what is not in the tutorial. Can someone tell me how I can figure out??

Thanks
 
Last edited:
To fix the issue run the following command

mv /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec
 
Thanks IgorG,

but /usr/local/psa/suexec/psa-suexec doesn´t exist.

mv /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec
mv: cannot stat `/usr/local/psa/suexec/psa-suexec': No such file or directory

here I have som

/usr/local/psa/bin/php_handler --list
id: display name: full version: version: type: cgi-bin: php.ini: custom:
5.2.6-fastcgi 5.2.6 5.2.6 5 fastcgi /usr/local/php-5.2.6/bin/php-cgi /usr/local/lib/php-5.2.6/ true
cgi 5.3.10 5.3.10 5.3 cgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini false
fastcgi 5.3.10 5.3.10 5.3 fastcgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini false
module 5.3.10 5.3.10 5.3 module /usr/bin/php5-cgi /etc/php5/cgi/php.ini false


find / -name suexec
/usr/lib/apache2/suexec
/usr/lib/plesk-9.0/suexec

Ubuntu 12 Plesk 11.5

greets DominikT
 
Back
Top