Plesk allows you to easily switch between different PHP versions and configure PHP settings for your websites. This guide shows you how to change the PHP version and adjust PHP modules and options through the Plesk control panel.
How to do it
-
Step 1: Access Plesk and navigate to Websites & Domains
Log in to your Plesk control panel. On the left sidebar, select "Websites & Domains".
-
Step 2: Open the PHP Selector
In the options panel on the far right, select the PHP Selector icon.
-
Step 3: Change the PHP version
On the PHP Selector page, select your preferred PHP version from the Current PHP Version list, then click the "Set as current" button.
-
Step 4: Enable or disable PHP modules (optional)
To include or exclude PHP modules, toggle the checkbox to the left of the module name.
-
Step 5: Adjust PHP options (optional)
To modify additional PHP settings, click the Options tab near the top of the page. This will open the PHP Options page.
Click on the current value in the right-hand column and input or select your preferred setting. After changing each setting, you will see a confirmation message: "Success, Module () saved."