• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issues with FastCGI after Centos 5.6 upgrade

VicenteB

New Pleskian
Hello,

I have upgraded Centos from 5.5 to 5.6 and sites with FastCGI enable after upgrade are down and error log shows this message:

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

In my server I have installed:
php-5.2.17-1.el5.art (I have not updated php53)
mysql-server-5.0.77-4.el5_5.5
httpd-2.2.3-45.el5.centos

The version of Plesk is 10.1.1

Ia have tried to use CGI mode and sites still down with the same error in logs.

Can anyone help me with this issue?

Thank you
 
Solution

Solution:

cp /usr/sbin/suexec /usr/sbin/suexec.dist
cp -f /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec
chown root:apache /usr/sbin/suexec
chmod 4510 /usr/sbin/suexec
/etc/init.d/httpd restart
 
Works!

Solution:

cp /usr/sbin/suexec /usr/sbin/suexec.dist
cp -f /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec
chown root:apache /usr/sbin/suexec
chmod 4510 /usr/sbin/suexec
/etc/init.d/httpd restart

This works like a charm... thanks VicenteB
 
Back
Top