How To Change The PHP Version On A Plesk Server?

How To Change The PHP Version On A Plesk Server?

This tutorial provides instructions about finding the right PHP version that the Plesk server is using and the information for changing to a different PHP version.

For a server like Plesk, applications like PHP must be managed through the Plesk interface. Use the instructions given in this tutorial to update PHP and switch to a different version of PHP.

Login to Plesk.

Step 1: You can log in to Plesk from How do I log in to Plesk panel.

Step 2: Click on Websites and Domains from the left-hand sidebar.

Step 3: Click on the PHP Icon.

Step 4: Select the appropriate version of the PHP from the PHP Support drop-down menu.

Step 5: Click on the Apply button to save the settings.

You've successfully updated your PHP version on Plesk.

Verifying the PHP version

Step 1: To verify the PHP version your site is using, create a file named phpinfo.php and add the following code to the file.




Step 2: Upload a file to your hosting account.

Step 3: Access and verify the PHP version.

Important Note: Replace the domainname with your exact domainname.

To confirm the successful modification, visit your website and check for any issues or errors. If everything functions as expected, congratulations!

By following these steps, you can easily change the PHP version of your website from the Plesk control panel.


In this article, we have seen how to change the PHP version from the Plesk panel. In case the PHP version you want is not listed in the drop-down menu, you can install it by having admin access to the Plesk panel, if you have a VPS plan.

Was this answer helpful?

« Back