Change the PHP version in Plesk (and fix common website errors)
- 20.02.2026 00:56
-
- php
- plesk
- troubleshooting
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)
- Log in to Plesk.
- Go to Websites & Domains.
- Find your domain and open PHP (or PHP Settings).
- Make sure PHP support is enabled (if the checkbox exists).
- Select the required PHP version from the drop-down list.
- Click Apply (or OK) to save changes.
- 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:
- Return to the same PHP Settings page in Plesk.
- Select the previous PHP version.
- 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.
Related Articles
Comments
Add Comment