Where can I change PHP Versions, Modules, and Settings in Plesk
Note: This guide assumes you have logged into your Plesk interface - guide
here.
What is PHP and why does it need to be updated or configured?
PHP is a scripting language that is generally used for websites. For web servers to execute the PHP code, they require a PHP interpreter to read and translate the PHP code for the server to understand and execute.
Over time, vulnerabilities are patched up and improvements are made to the PHP code base which requires PHP interpreters to also be updated.
We generally recommend that you keep PHP updated to the latest versions for improved performance and security of your website - follow this
link to find the latest supported versions of PHP.
Are there any risks in changing my PHP version?
Depending on how your website is coded, there is a chance that your website will not work on a different PHP version - newer versions of PHP often remove older functions and/or change how older functions operate to improve performance and security.
We recommend updating the PHP version, one version at a time and testing after every update - if the website loses functionality, then roll back the PHP version.
If you are not confident with changing the PHP version, we always advise getting in contact with your website developer for further assistance.
Please note:
You may see reference to an outdated PHP version, or a warning showing the PHP version is outdated in the WordPress and Dashboard tabs.
These can be disregarded, this version should be left as '7.3.33'.
The PHP version used by your website can be controlled via PHP Selector shown below.
Access the PHP Selector tool
Step 1 - Once you have logged into your Plesk account, go to the
Plesk Apps tab under your domain, then click
PHP Selector.
Step 2 - Drop down the menu of PHP versions and select the PHP version that you wish to update to, then click on
Set as current.
To enable a PHP module: Tick the box for the module you want to enable.
To change the PHP options such as max_input_time or post_max_size: First, click on the
Switch to PHP Options link in the top right.
To edit a PHP setting, click on the value you want to edit and change it.