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
- Log in to your cPanel account.
- In the Software section, click on MultiPHP Manager.
- 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.
- 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
- How to Install XMB Forum via Softaculous in cPanel - Nabtech
- How to Install MODX via Softaculous in cPanel - Nabtech
- How to Install Contao via Softaculous in cPanel - Nabtech
- How to Install Jamroom via Softaculous in cPanel - Nabtech
- How to Install liveSite via Softaculous in cPanel - Nabtech
- How to Change cPanel's Style/Theme - Nabtech
- How to Install CMS Made Simple via Softaculous in cPanel - Nabtech
- How to Install e107 via Softaculous in cPanel - Nabtech
Was this article helpful?
Discussion
Loading the discussion…
Sign in to join the discussion.
