It is always recommended to run your websites on the latest version of PHP as the new feature enhances the security, increases the performance of your websites, improves the speed, and you will get to see a lot of improvements. But when you try to switch to the latest version of PHP, you may not find the latest version of PHP in the list of your hosting. So today in this post we will guide you on how to install the latest version of PHP on Plesk Server, this tutorial will be especially for those people who are hosting their website on the Plesk server.
Before we start installing the latest version of PHP, you can confirm whether the latest PHP version is already present on your Plesk server or not. If PHP’s latest version is present then there is no need to install it as you can directly select and switch your websites to the latest version of PHP. So the below steps help you to check if the latest version of PHP already exists on your Plesk server.
Check If Latest Version of PHP is already installed on your Plesk Server
To check if latest version of PHP is already installed on your Plesk Server, just login into your Plesk server.
Under Website and domains you will get to see your websites hosted on server.
Just click on PHP Settings of your website.
On next page of PHP Setting, check the PHP version from the list.
If latest version of PHP is appearing then from here only you just select the PHP Version, scroll down and save the changes.
Your website will start running on latest PHP Version.
If here in the list, latest PHP Version is not appearing then you will have to get it installed by following below steps.
How to Install Latest PHP Version on Plesk Server
To install the latest PHP Version on Plesk Server, make sure you are logged in into the server.
Go to Tools & Settings > Under Plesk category > Updates and Upgrades
A new page will open of Install and Update Plesk
Click on Add/ Removed Components
Scroll down and find option Web Hosting, just expand the Web Hosting by clicking on plus sign.
Search for PHP interpreter versions, and expand it by clicking on plus sign.
Here you will get to see all the installed versions as well as new versions available.
To install the latest version from the list just click on down arrow mark and it will give you install option.
If you want to uninstall the outdated PHP then you can also do it from here itself.
Just click on install option and scroll down and click on continue button.
The installation of PHP Version which you have selected will begin and the operations log will be displayed.
Once installing the PHP Version it will give you message All Operations with products and components
Click on OK button to proceed further.
Now to apply the latest PHP version to your website, you will have to go to PHP Settings of website and apply the newly installed PHP version as we have mentioned in above steps of check if latest version of PHP is already installed on Plesk server.
That’s it this is how you can easily install latest PHP version on Plesk Server.