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'. 

24389583d738fa886f8ecac0c159c84c3aa9622c8deb3d2d1290799ed2addfe4c67276dab026c659?t=49fd1a7309dfc5c692e4fe873bbf4973

f4581a1bc39bb56645de1f322be8c9812e38dfbaa17407654cfb0abe0e4a536f35475d61d7931838?t=4c02372cf155bdd0dfd0ddbc378e1b20
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.

4aad785e8ac42c125ff4c2c610cbca9e14ad9fb8669e25b7e06bbc03218c4a76085f808ed353f870?t=61d8267194d28317943ee41512af2c07


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?