cPanel 95 Recently updated 2 min read

How to Set the PHP Version per Domain in cPanel - Nabtech

How to Set the PHP Version per Domain in cPanel

If you have multiple domains and want to set the PHP version for each one, you can easily do this in cPanel. For example, you can set PHP 7.0 for the Example2 domain and PHP 8.1 for the Example1 domain.

Steps to Set the PHP Version

  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. Select the appropriate PHP version from the menu and click on Apply.
  4. To set PHP 7.0 on Example2, scroll down and select the Example2 domain. Then set the PHP version to 7.0.

Congratulations! Both of your domains are now using different PHP versions.

Related articles

Discussion

Loading the discussion…