Your country & currency

Make yourself at home. Choose your preferred shopping currency.

Your selected country opens its KickHost website. Your shopping currency is saved. Visit country website .

Guide

How to Set the PHP Version per Domain in cPanel

Set a different PHP version for each domain in cPanel. Steps for KickHost customers in Kenya.

Share

Some applications need a specific PHP version. You can set one version per domain so each site runs on what it needs.

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.
Cpanel multiphp icon

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.
Cpanel multiphp select domain full

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.
Cpanel multiphp select second domain

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

Match the software

Check which PHP versions your CMS, theme and plugins support. Use the newest supported version.

Test after the change

Reload each website. If you see errors, switch back to the previous version and update the plugin or theme.

Frequently asked questions

Can two domains use different PHP versions? Yes. Each domain can have its own version.

Does changing PHP affect email? No. Only websites are affected.

Related guides

Need cPanel hosting in Kenya? See KickHost hosting plans or contact our team.

Found this useful? Share it.

Need a hand with this?

Our team can help you choose the right domain, hosting or server and set it up properly.

Talk to our team See hosting plans