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

How to change the PHP version in cPanel:

  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

This Post Has One Comment

  1. Nomi

    let me know how can i change php version of HOME LIBRARY

Leave a Reply