• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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