• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

plesk 12, php 5.4 error reading data from FastCGI server

JuanCar

Regular Pleskian
I changed to a new server with plesk 12 and every php that worked with Plesk 11.5 and php 5.4 doesn't work in the new server with fstcgi and php 5.4. They run fine if I config subdomain with FastCgi php5.3 but don't with php 5.4.35. I get this error message in error_log of subdmain using this versión of php

(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
Premature end of script headers: test.php

there is no error in /var/log/httpd/suexec_log

phpini seems OK

I've searched for every place in internet but I can't find any solution.
My system uses Centos 6.4 and

thanks
 
Have you tried to use "error reading data from FastCGI server" phrase for KB search engine at least? There are many related KB articles about this problem. Try to read them and apply solutions.
 
Hi JuanCar,

it is not really a solution, but I recommend to use either PHP 5.3, or PHP 5.5, because with PHP 5.4 you might have a bunch of issues and bugs, which you all have to solve on your very own with an enormous time investment.
 
I've look for this issue in KB and what I found doen't fix my issue.
And about php 5.4 and 5.3: when my system had plesk 11.5 it used php 5.4 without any issue. So....

And a new data: I've just discovered that the server runs php 5.3 (php -v give me this versión) while I can choice 5.3 or 5.4 for subdomains. Both versions are installed: php 5.3 and php 5.4. Plesk panel components shows php 5.3 as installed version too.
php_handler --list shows:
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
cgi 5.3.3 5.3.3 5.3 cgi /usr/bin/php-cgi /etc/php.ini false
cgi-5.4.35 5.4.35 5.4.35 5.4 cgi /usr/local/php-5.4.35/bin/php-cgi /usr/local/php-5.4.35/etc/php.ini true
fastcgi 5.3.3 5.3.3 5.3 fastcgi /usr/bin/php-cgi /etc/php.ini false
fastcgi-5.4.35 5.4.35 5.4.35 5.4 fastcgi /usr/local/php-5.4.35/bin/php-cgi /usr/local/php-5.4.35/etc/php.ini true
module 5.3.3 5.3.3 5.3 module /usr/bin/php-cgi /etc/php.ini false

And I can't find any error in php.ini


Thanks
 
Last edited:
Back
Top