How to Set the PHP Version per Domain in cPanel

Do you have multiple domains and want to set the PHP version per domain? You can set PHP 7.0 on the Example2 domain and PHP 8.1 on Example1. You can do this 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. Please, select the appropriate PHP version from it and 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.



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

  • 0 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

How to Reset cPanel's Account Password

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

How to Update a Cronjob Email Address in cPanel

You can enable cronjob notifications or update a cronjob's email address in cPanel. 1. Log in to...

How to Create a Cronjob in cPanel

1. Log in to your cPanel account. 2. In the Advanced section, click on Cron Jobs. 3. Under Add...

How to Check the Disk Usage and the Bandwidth Usage of Directories

If you are getting a disk space usage warning from cPanel and don't know which directory is using...

How to Edit a File in the cPanel File Manager

You can use cPanel's inbuilt file manager to edit files on your website.   1. Log in to your...