PHP is one of the most widely used server-side programming languages. PHP versions have some important functions, so knowing which version is running on your server might be necessary for some situations as many PHP scripts support different versions.
For example, if you are upgrading an application or installing a new one that requires a specific PHP version before starting the installation.
How to change the PHP version in cPanel?
In some situations, you may need to use a different version of PHP for a specific domain or script. You can set a specific PHP version you want to have by following one of the procedures below.
In this article, we’re going to tell you how to change the PHP version in cPanel with several steps-
Step 1: Log in to cPanel
Step 2: Search the MultiPHP Manager in the Software section in the cPanel
Note:- Make sure to click on MultiPHP Manager and not on MultiPHP INI Editor because MultiPHP INI Editor is different software that helps you fine-tune your PHP settings on different sites. How to force a redirect to HTTPS- Click here
Step 3: Check the box for the website or websites you want to change the PHP version
Step 4: Select the desired PHP version from the drop-down menu.
Step 5: Then, click the Apply button.
Congratulations, we hope you have learned to change the PHP version.