How to change the PHP version in cPanel

Changing the PHP version in cPanel is a straightforward process that can be done in just a few steps. The PHP version can affect the performance, security, and compatibility of your website, and it's important to make sure that your website is running on the correct version. In this blog post, we will show you how to change the PHP version in cPanel.

Step 1: Log into your cPanel account to begin, you will need to log into your cPanel account. This can typically be done by visiting your website's URL followed by "/cpanel" (e.g. "www.example.com/cpanel"). You will then be prompted to enter your cPanel username and password.

Step 2: Scroll down to the "Software" section and click on "MultiPHP Manager" Once you have logged in, you will be taken to the cPanel dashboard. Scroll down to the "Software" section and click on "MultiPHP Manager". This will take you to the PHP version management page where you can see the current PHP version and change it.

Step 3: Select the domain you want to change the PHP version On the PHP version management page, you will see a list of your domain names. Select the domain name you want to change the PHP version for by clicking on the corresponding checkbox.

Step 4: Change the PHP version Once you have selected the domain, you will see an option to change the PHP version. You can select the desired PHP version from the dropdown menu and click on the "Apply" button to save the changes.

Step 5: Check that the PHP version has been changed to check that the PHP version has been changed, you can create a PHP file that displays the PHP version and upload it to the root directory of your website. You can access the file by visiting your website's URL followed by "/phpversion.php" and check the version number.

It's important to note that some web hosting providers may have different steps or methods to change the PHP version in cPanel, so it's always recommended to check the documentation or contact support for guidance. Additionally, it's important to test your website after changing the PHP version to ensure that everything is working correctly.

In conclusion, changing the PHP version in cPanel is a straightforward process that can be done in just a few steps. By following the above instructions, you will be able to ensure that your website is running on the correct PHP version for optimal performance, security, and compatibility. Remember to check that the PHP version has been changed and test your website to ensure everything is working correctly. Additionally, it's important to regularly review and update your PHP version to ensure that your website's security stays up to date.

 
  • PHP, Version, cPanel
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Cannot add email account as it already exist

On rare occasions there may be a time when adding or removing accounts cannot quite finish the...

How to create a new email address in cPanel

Creating an email address using cPanel is a straightforward process that can be done...

Creating an email forwarder in cPanel

Creating an email forwarder in cPanel is a straightforward process that can be done...

Creating email filters in cPanel

Spam filters are an essential tool for keeping your inbox free from unwanted...

How to restore a backup using Jet Backup in cPanel

Restoring a backup in Jet Backup 5 in cPanel is a straightforward process that can be...