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

  1. Step 1: Access Plesk and navigate to Websites & Domains

    Log in to your Plesk control panel. On the left sidebar, select "Websites & Domains".

    Plesk - Sidebar - Websites and Domains

  2. Step 2: Open the PHP Selector

    In the options panel on the far right, select the PHP Selector icon.

    PHP Selector icon

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

    PHP version selector

  4. Step 4: Enable or disable PHP modules (optional)

    To include or exclude PHP modules, toggle the checkbox to the left of the module name.

    PHP modules checkboxes

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

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