- 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
Or any similar error.
service is hanged or down.
Using Plesk interface
Go to Tools & Settings > Services Management and restart the required PHP-FPM handler.
Using SSH connection.
- Connect to the server via SSH;
- Restart PHP-FPM service:
# service php-fpm restart
Note: Service may be plesk-php56-fpm, plesk-php70-fpm and etc. It depends on handler that is being used for domain. It can be