- Plesk Onyx for Linux
- Websites or site's preview that use
php-fpmshow following errors:
502 Bad Gatewayor
504 Gateway Timeout;
/var/log/php-fpm/error.logor similar, the following record can be found:
CONFIG_TEXT: NOTICE: Reloading in progress ...
CONFIG_TEXT: AH01079: failed to make connection to backend: httpd-UDS / AH02454: FCGI: attempt to connect to Unix domain socket failed
- Website is using system PHP-FPM.
service is hanged or down.
It is required to restart the service in case it hung. It is possible to do that via Plesk interface and via SSH.
- Connect to the server via SSH;
- Restart PHP-FPM service:
# service php-fpm restart