How to change the PHP version of your domain in cPanel

It’s always a good idea to use the latest version of PHP. For some time 2-3 PHP versions will be supported, but in the end, the old ones will be discontinued. So, whenever possible, use the latest version.
We will show below how to change the PHP version for your site from cPanel.

cPanel change PHP version
cPanel change PHP version

Steps to change the PHP version:

  1. Log into your cPanel account.
  2. Go to MultiPHP Manager under the Software Section
  3. Select the domain for which you want to change the PHP version.
  4. From the right drop-down list select the desired PHP version. If you choose the inherit option the site will use the default PHP version which is listed at the top of the page.
  5. Click the Apply button. The site is using now the PHP version you selected.

Some hosts may block this cPanel feature for end-users. If you don’t see this feature in cPanel contact your host.

Please watch now the video tutorial. You will also see how to check your current PHP version.

Change site’s PHP version in cPanel

For more details of the PHP function used this tutorial check PHP: phpversion – Manual

Leave a Reply