PHP 8.1 503 / 500 Error on Debian 12

LawsHosting

Verified User
Joined
Sep 13, 2008
Messages
2,418
Location
London UK
AH01067: Failed to read FastCGI header
[Tue Jul 18 20:07:03.426314 2023] [proxy_fcgi:error] [pid 1729162:tid 140091943012032] (104)Connection reset by peer: [client xxxx:0] AH01075: Error dispatching request to :

I tried opcache.fast_shutdown=0, but it didn't have any effect.

PHP 8.2 works though........ That said, I did have a load of compile warnings with 8.1??‍♂️

Has anyone else come across this error? Using PHP 8.2 will be no problem, but.
 
sometime ( Rare case ). PHP-FPM can't generate socket for some user ( it happending on busy server ).

Trying reboot, it should solve problem.
Or remove socket file inside "/usr/local/php81/sockets/" which problem user. and restart php-fpm81 service
 
Back
Top