• Discussion
  • Apache Unable to Connect to PHP-FPM Socket - AH02454 & AH01079 Errors"

I'm experiencing an issue with my Apache and PHP-FPM configuration on my server. The error log shows the following messages

[Wed Aug 14 07:14:13.155409 2024] [proxy:error] [pid 416059:tid 416061] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /tmp/php-cgi-74.sock (localhost:8000) failed
[Wed Aug 14 07:14:13.155464 2024] [proxy_fcgi:error] [pid 416059:tid 416061] [remote 13.127.143.29:55752] AH01079: failed to make connection to backend: localhost

I have confirmed that PHP-FPM is running, but Apache still cannot connect to the socket. Do you have any suggestions on how to fix the configuration or any additional troubleshooting steps I should take? Thank you!"

    Hello, have you modified the relevant configuration? Please check if the /tmp/php-cgi-74.sock file exists?
    Try checking the website's php configuration and php versions configuration. Is it normal to try to restart php7.4 at the same time?

    aaP_Charlos901