Linux : cPanel failed to make connection to backend: httpd-UDS

By | May 1, 2020

Experiencing the following error loading a Web site hosted on your cPanel server?

503 Service Unavailable

And observing the following errors in the Apache logs :

In my case, this occurred after the Web site account was just migrated to a new server.

This is related to PHP-FPM, that isn’t responding to serve the request.

To work around this issue, disable PHP-FPM for this particular Web site and re-enable it again. If all Web sites are experiencing the same issue, try to restart the PHP-FPM service first and then disable/enable for all Web sites if it didn’t resolved the issue.

To disable/enable PHP-FPM, go to (in WHM) :

Software > MultiPHP Manager