How to Set the PHP Version per Domain in cPanel

In this article, we will demonstrate how to use cPanel to set different PHP versions for individual domains. This can be beneficial, as some applications require specific versions to function correctly. For example, we will set PHP 8.3 on the Example2 domain and PHP 8.1 on the Example1 domain.

 


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 we will set PHP 8.3 on Example2. Scroll down and select the example2 domain. Then choose the PHP version as 8.3 and click apply.



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

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

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 Create an Additional Web Disk Account in cPanel

You can use the cPanel's login details to access your Web Disk. You can also create an additional...

How to Edit or Remove a Record in cPanel

You can edit or remove a Record in cPanel using the cPanel's DNS Zone Editor. It allows you to...

How to Add a CNAME Record in cPanel

CNAME records are referred to as alias records since they map an alias to its canonical name. You...

How to Edit or Remove an MX Record in cPanel

You can edit or remove an MX Record in cPanel using the cPanel's DNS Zone Editor. It allows you...