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.

Access the PHP Selector tool

Step 1 - Once you have logged into your Plesk account, select Show More if it is not already selected, and then click PHP Selector.

0fb4e7b3109b3c504872f8234546afa205d8e20c?t=b6deecc40abaded41d98c9ca15be6f16

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.

ec2688b467a006af0608940b809fa410ff32b0e4?t=f06de3cc81f77a79602696bdcaa1c11b


To enable a PHP module: Tick the box for the module you want to enable.

19b653f9966ed37645382e43398d90207691cfd4?t=6710274e9d584492fa739aced77b0f59


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.

f62125c5b716ab5766151c9c48f1b4cb46b1976d?t=b06c30ab7384aa1c79b57c8f6af85f85


To edit a PHP setting, click on the value you want to edit and change it.

654682463153a002c75964af87a4a84734b2277e?t=109516aa67ed1772741320e2e4ed7121


Did you find this article useful?