VPS (Virtual Private Server) Hosting, as we have covered in our previous articles, is a powerful and dynamic hosting infrastructure combining the qualities of both Shared and Dedicated Hosting. It allows you to manage your server seamlessly with complete root access. Since VPS is a self-managed server, it is important that you know how to enable various features on your VPS package. In this tutorial, we will cover, how to change the PHP version in cPanel for your VPS package, however, before we get to the tutorial let us first have a look at what PHP is.
PHP stands for Hypertext Preprocessor (earlier called, Personal Home Page). It is an open-source, server-side scripting language that enables developers to develop web applications and can be embedded directly into an HTML code. Moreover, PHP also helps create dynamic web pages for web apps, e-commerce based apps, as well as, database applications. Along with this, it is platform independent and connects with several databases like MySQL, Oracle, PostgreSQL, etc. Now, that we’ve covered the basics of PHP let us move on to understanding how to change the PHP version in cPanel.
Follow these steps to know how to change the PHP version in cPanel for a particular domain hosted under the VPS package:
- Login to your Reseller Account
Login to your ResellerClub control panel to see how many active orders, expiring orders are there in your account.
- Accessing your Products
To access your orders, go to your control panel dashboard and click on Products → List All Orders (image 1) → Click on the Domain Name associated with the VPS package you want to access (image 2)
- Accessing the VPS Linux KVM package After clicking on the Domain Name, you’ll be redirected to the ‘Domain Overview’ page (image 3). Scroll down to the VPS Linux KVM tab. Here click on Admin Details, and then click on the cPanel link to login to the WHM panel (image 4)
- Accessing your WHM Panel
After clicking on the cPanel link, the WHM page opens up. Here enter the Username and Password for the WHM Panel, and click on Login
- In the WHM Panel
On the WHM dashboard on the Home page click on Software
- MultiPHP Manager
There are a bunch of software plugins in this tab, to change your PHP version click on the ‘MultiPHP Manager’ plugin
- In MultiPHP Manager Plugin After clicking on the plugin, select the Domain name for which you wish to modify the PHP version. This can be found at the bottom of the page.
Note: Do not change anything else on the entire page
- Set PHP Version per Domain Click on the drop-down option for ‘PHP Version’ and select the desired PHP version from the list of available PHP versions. After selection click on ‘Apply’
With this, we come to an end of our quick tutorial on, ‘how to change the PHP version in cPanel for your VPS package’. If you have any suggestions, queries, or questions feel free to leave a comment below and we’ll get back to you. Until next time, folks!