Plesk

Unable to access example.com website on the particular PHP version: 503 Service Temporarily Unavailable

Symptoms

Cause

The /var/www/vhosts/system/example.com/php-fpm.sock file is corrupted.

Resolution

  1. Log into the server via SSH.
  2. Remove the /var/www/vhosts/system/example.com/php-fpm.sock file:

    # rm -rf /var/www/vhosts/system/example.com/php-fpm.sock

  3. Log into Plesk.
  4. Go to Domains > example.com > PHP settings.

  5. Switch PHP version to another:

  6. Scroll down and press the Apply button.

  7. Switch PHP version back to the required.

  8. Scroll down and press the OK button to apply the changes.

Exit mobile version