Keeping your website's PHP version up to date is important for your site's security, speed and compatibility, especially for WordPress sites, where themes and plugins depend on it. This guide shows you how to check and change your PHP version in Plesk, and how to update a WordPress site safely. The same steps work for any website on Plesk.
Why update your PHP version?
Each PHP version is only supported for a limited time. Once a version reaches End of Life, it no longer receives security updates.
If your site uses an outdated version (for example, PHP 7.4), you may see a message like:
Outdated PHP version detected. PHP version used by this site has reached End Of Life and is not supported by PHP team anymore.
Running an outdated version can:
- put your website at security risk,
- cause errors or instability, as many current themes and plugins no longer support older PHP versions, and
- make your site slower.
Which version should I choose?
Our Plesk hosting offers PHP 8.2 to 8.5. For WordPress, we recommend PHP 8.3 or 8.4: both are supported, and widely compatible with current themes and plugins. PHP 8.5 is the newest version, so some plugins may not support it yet.
How to check or change your PHP version
- Log in to your account.
- Click Products, then select Hosting to open your Plesk Control Panel.
- In the left-hand menu, click Websites & Domains.
- Select your domain name, if it isn't already selected.
- Click the Dashboard tab.
- Find the PHP section. You'll see PHP support with your current PHP version.
- Click the dropdown next to the PHP version and select the version you'd like to use (for example, PHP 8.3 or PHP 8.4).
- Click Apply or OK to save your changes.
Test your website right away after changing the version. If you see errors or a blank page, switch back to your previous version using the same steps, then follow the safer method below.
Updating a WordPress site? Use this safer method
Your theme or plugins may not be compatible with a newer PHP version yet. To avoid problems on your live site:
-
Back up your site first, using the WordPress Toolkit in Plesk (Back Up / Restore).
-
Create a staging copy of your site with the WordPress Toolkit, if you don't already have one. See: How to Set Up a Staging Site in Plesk Hosting (WordPress)
- On the staging site, update WordPress, your theme and all plugins to their latest versions.
- Change the staging site's PHP version to 8.3 or 8.4, using the steps above.
-
Test the staging site thoroughly. If a theme or plugin causes errors, check with its developer for an update, or replace it with a compatible alternative.
- Once everything works, make the same updates and PHP change on your live site, or sync staging to live with the WordPress Toolkit.
What we can help with
We can help with:
- PHP version and settings questions
- Increasing PHP limits, such as memory or execution time
- Backups and other hosting-related questions
We can't help with:
- Fixing WordPress themes, plugins or custom code
If your website still has errors after updating PHP, we recommend working with a WordPress developer, or contacting the developers of the theme or plugins you're using.
Need help?
Contact our support team by chat or phone, and include:
- your domain name, and
- the PHP setting or limit you'd like adjusted, or the error you're seeing.
Comments
0 comments
Please sign in to leave a comment.