How To Change The PHP Version On A Plesk Server?

The Easiest Way to Switch PHP Versions and Settings on Plesk

Changing PHP Versions

  1. Access Plesk by logging in.

  2. On the left sidebar, select "Websites & Domains":

Plesk - Sidebar - Websites and Domains

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

https://www.a2hosting.com/images/uploads/knowledgebase_images/kb_phpplesk_phpselector.PNG

  1. On the PHP Selector page, pick the preferred PHP version from the Current PHP Version list, then click the "Set as current" button.

https://www.a2hosting.com/images/uploads/knowledgebase_images/kb_phpplesk_phpversion.PNG

Adjusting PHP Configurations

  1. Follow steps 1 to 3 as mentioned earlier to reach the PHP Selector page.

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

https://www.a2hosting.com/images/uploads/knowledgebase_images/kb_phpplesk_phpsettings.PNG

  1. For modifying additional settings, begin by clicking the Options tab located near the top of the page. This action will open the PHP Options page.

https://www.a2hosting.com/images/uploads/knowledgebase_images/kb_phpplesk_phpoptions.PNG

  1. To modify the settings, click on the current value in the right-hand column, and input or choose the preferred setting.

  2. After altering each setting, a prompt will confirm the success with the message "Success, Module () saved."


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 306