Failed to read FastCGI header after changing php mode to PHP-FPM

mbsmt

Verified User
Joined
Jul 24, 2013
Messages
175
Location
Mashhad, Iran
Hi guys.
I've just changed the PHP mode on my server to PHP-FPM. All websites are working properly, but just one website is not loading and logs said:
Code:
[Sat Aug 05 16:57:57.385719 2017] [proxy_fcgi:error] [pid 9475:tid 140248178534144] [client 188.158.104.65:12971] AH01067: Failed to read FastCGI header
[Sat Aug 05 16:57:57.385758 2017] [proxy_fcgi:error] [pid 9475:tid 140248178534144] (104)Connection reset by peer: [client 188.158.104.65:12971] AH01075: Error dispatching request to :

For more information, this website is encoded with Zend Guard and server is running PHP 5.6.31

What can I do to solve this problem?
 
@24x7server, Disabling opcache is not a fix, but a work around.

@msbsmt, Are your running OPCache? Is DirectAdmin up to date? Maybe it would help to:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build rewrite_confs
./build opcache
./build php n
./build apache
 
@24x7server, Disabling opcache is not a fix, but a work around.

@msbsmt, Are your running OPCache? Is DirectAdmin up to date? Maybe it would help to:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build rewrite_confs
./build opcache
./build php n
./build apache

OPCache is enabled on the server and due to its benefits, I can not disable it only for one website. I have not any problem with with other websites on the server. DirectAdmin is up to date and I did what you wrote after changes.
 
Back
Top