- Unable to access the
example.comwebsite on the particular PHP version:
503 Service Temporarily Unavailable
- In an attempt to switch PHP version in Plesk > Domains > example.com > PHP Settings the process fails with the following error:
Error: phpinimng failed: ERROR:fpm_util:check failed service plesk-phpXX-fpm socket /run/plesk/plesk-phpXX-fpm.sock reason [Errno 111] Connection refused: '/run/plesk/plesk-phpXX-fpm.sock'
It is not possible to start affected PHP service with the error below in
ERROR: An another FPM instance seems to already listen on /var/www/vhosts/system/example.com/php-fpm.sock
ERROR: FPM initialization failed `/var/www/vhosts/system/example.com/php-fpm.sock` failed
/var/www/vhosts/system/example.com/php-fpm.sock file is corrupted.
- Log into the server via SSH.
- Remove the
# rm -rf /var/www/vhosts/system/example.com/php-fpm.sock
- Log into Plesk.
Go to Domains > example.com > PHP settings.
Switch PHP version to another:
Scroll down and press the Apply button.
Switch PHP version back to the required.
Scroll down and press the OK button to apply the changes.