A site returns 503 Service Unavailable
Every PHP page on a site returns 503 Service Unavailable, and Apache logs a failed connection to the PHP-FPM socket. Starting the stopped PHP-FPM service for the site's PHP version fixes the error.
Symptoms
PHP pages on every site that uses one PHP version return 503 Service Unavailable. The domain's error log, shown by urbestack-domain-log --name example.com --type error, contains these lines.
[Mon Nov 30 08:26:55.074072 2026] [proxy:error] [pid 2100:tid 2202] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/urbestack/php/example.com-84.sock (localhost:8000) failed
[Mon Nov 30 08:26:55.074304 2026] [proxy_fcgi:error] [pid 2100:tid 2202] [client 203.0.113.10:35330] AH01079: failed to make connection to backend: localhostCause
Each site runs PHP in a pool for its PHP version. The pool listens on a socket under /run/urbestack/php/. The socket name ends with the version, such as -84 for PHP 8.4.
When the PHP-FPM service for that version stops or fails, the socket disappears and Apache returns 503 Service Unavailable.
Resolution
Check the PHP-FPM service for the site's PHP version. The service name starts with
php-and ends with the version. For PHP 8.4, checkphp-8.4.urbestack-service-list --name php-8.4Start the service again.
urbestack-service-restart --name php-8.4Run
urbestack-service-list --name php-8.4again to check that the service is running.If the service fails to start, test its configuration. On AlmaLinux, run the PHP 8.4 configuration test with this command.
/opt/remi/php84/root/usr/sbin/php-fpm -tOn Ubuntu, use this command.
/usr/sbin/php-fpm8.4 -tA successful test ends with a line like the one below, with the configuration file path for that PHP version.
Output NOTICE: configuration file /etc/php/8.4/fpm/php-fpm.conf test is successfulIf the configuration has an error, the test names the file and line at fault. The PHP-FPM error log is
/var/opt/remi/php84/log/php-fpm/error.logon AlmaLinux and/var/log/php8.4-fpm.logon Ubuntu.