Apache Service Unavailable 503

(111)Connection refused: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php8.2-fpm.sock (*) failed

 


I have running WordPress in my local and I got the error Service Unavailable in the browser while accessing the website. Here are the steps that show how I have resolved this error, Generally this type of error happens due to php-fpm service. In this article I will explain you how to resolve Apache service unavailable error 503.

 
Error in Apache logs :

[Wed Feb 15 09:58:45.658143 2023] [proxy:error] [pid 1266] (111)Connection refused: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php8.2-fpm.sock (*) failed

[Wed Feb 15 09:58:45.658172 2023] [proxy_fcgi:error] [pid 1266] [client 192.168.1.84:45230] AH01079: failed to make connection to backend: httpd-UDS

Reason and Solutions :

1. If your php-fpm service is not started. You need to check the service if it is running or not.
 

service php8.2-fpm status
service php8.2-fpm restart

Read more

PHP Code Snippets Powered By : XYZScripts.com