Skip to main content
There was a problem loading the comments.

Change the PHP version in Plesk (and fix common website errors)

Support Portal  »  Knowledgebase  »  Viewing Article


Quick answer: in Plesk go to Websites & Domains → your domain → PHP Settings, choose the version from the list and click OK/Apply.

In GARMTECH hosting, you can switch the PHP version for each website in Plesk. This is useful when a site requires a newer (or older) PHP version, or when you troubleshoot compatibility issues.

Where do I change the PHP version?

You can change the PHP version per domain in Plesk:

  • Websites & Domains → select your domain → PHP or PHP Settings
  • In some Plesk layouts: Websites & Domains → select your domain → Hosting Settings

Change the PHP version (step-by-step)

  1. Log in to Plesk.
  2. Go to Websites & Domains.
  3. Find your domain and open PHP (or PHP Settings).
  4. Make sure PHP support is enabled (if the checkbox exists).
  5. Select the required PHP version from the drop-down list.
  6. Click Apply (or OK) to save changes.
  7. Open your website in a new browser tab and test the key pages (home page, login page, checkout, contact form).

Quick rollback if the website shows an error

If the site returns a 500/503 error after switching PHP, you can roll back immediately:

  1. Return to the same PHP Settings page in Plesk.
  2. Select the previous PHP version.
  3. Apply changes and test again.

Common issues after switching PHP

  • 500 Internal Server Error: most often caused by incompatible plugins/themes (WordPress) or deprecated functions in custom code. Roll back the version and update the site components.
  • White screen / blank page: enable error display for debugging, or check logs (see below).
  • Memory exhausted / timeouts: adjust PHP limits in Plesk (memory_limit, max_execution_time) if your plan allows, or optimize the application.

Where do I check for errors?

  • In Plesk, open Websites & Domains → your domain → Logs to view recent web server and PHP errors.
  • If your application (for example, WordPress) has its own debug log, review it as well.

What if the PHP version I need is not available?

The list of available PHP versions depends on the server configuration. If you do not see the required version in Plesk, create a support request and specify the domain name and the PHP version you need.


Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to