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

Do you support Joomla!?

Yes we support Joomla! Infact we are listed on the Joomla Resources Directory as a Joomla Hosting...

How to enable/disable Spam Assassin?

Spam Assassin is& ; used to filter out incoming email on a server side basis.& ;The feature can...

How do I login and use my email or webmail?

Working with Email Accounts=============================The following email will guide you in...

Do I use localhost or remotemysqlhost for my mysql connection?

You can view whether your account is using localhost or remotemysql host in your cPanel account....

How do I read my web stats on Webalizer?

You can view your website's statistics through the Webalizer feature in cPanel. This can be found...