How to set the PHP version per domain in cPanel Print

  • 0

Do you have multiple domains and want to set the PHP version per domain?

Here's how you can set PHP 7.0 (see Example domain) and PHP 8.1 (see Example2 domain) in cPanel.


1. Log in to your cPanel Account.


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



3. Scroll down to the bottom of the page.

Select your domain from the left side of the screen. You can view the PHP Version from the drop-down menu on the right.

After you select the appropriate PHP version from it, click on Apply.



4. Now you want to set PHP 7.0 on Example2.

Scroll down and select the example2 domain.

Then set the PHP version to 7.0 and click on Apply.




Congratulations! Now, both of your domains are using different PHP versions.


Was this answer helpful?

« Back