How to Set the PHP Version per Domain, Using cPanel?

Do you have multiple domains and you wish to set the PHP version per domain? For example, you have the domains example1.com and example2.com and you want to set PHP 7 on example1.com domain and PHP 5.6 on example2.com. You will need to do this from cPanel.

The below is just an example. Use newer PHP versions.


1. Log in to your cPanel account.

2. In the "Software" section, click on the "MultiPHP Manager" Icon.


3. Scroll down to the end of page, select your domain from the left side and you will see the option "PHP Version" with a dropdown list on the right side. Select the appropriate PHP version from the dropdown menu and then click on Apply.



4. Now, you want to set PHP 5.6 on example2.com, so scroll down and select the example2.com domain. Then, set the PHP version to 5.6.



You're set! Now both of your domains use different different PHP versions.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to update your cPanel Contact Information or receive a notification on reaching quota limit?

If you want to receive notification on reaching your disk quota, bandwidth usage limit, reaching...

How to Change cPanel Style/Theme?

Unfortunately, as of early 2023, cPanel removed the ability to switch themes for now and removed...

How to Edit file in the cPanel File Manager?

1. Log in to your cPanel account.2. In the "Files" section, click on "File Manager" Icon. 3....

How to Change Language of your cPanel?

cPanel supports a lot of languages, and if you want to change your cPanel language to your native...

How to Reset my cPanel Account Password?

If you can access your cPanel account, follow these steps to reset your password:1. Log in to...