{"id":50448,"date":"2026-11-20T05:24:10","date_gmt":"2026-11-20T05:24:10","guid":{"rendered":"https:\/\/kickhost.com\/guides\/how-to-set-the-php-version-per-domain-in-cpanel\/"},"modified":"2026-12-02T03:15:36","modified_gmt":"2026-12-02T03:15:36","slug":"how-to-set-the-php-version-per-domain-in-cpanel","status":"publish","type":"kickhost_tutorial","link":"https:\/\/kickhost.com\/en-za\/guides\/how-to-set-the-php-version-per-domain-in-cpanel\/","title":{"rendered":"How to Set the PHP Version per Domain in cPanel"},"content":{"rendered":"<p>Some applications need a specific PHP version. You can set one version per domain so each site runs on what it needs.<\/p>\n<p>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.<\/p>\n<p><strong>1. <\/strong>Log in to your cPanel account.<\/p>\n<p><strong>2. <\/strong>In the <strong>Software<\/strong> section, click on <strong>MultiPHP Manager<\/strong>.<br \/><img decoding=\"async\" src=\"https:\/\/kickhost.com\/img\/cpanel-multiphp-icon.gif\" loading=\"lazy\" alt=\"Cpanel multiphp - How to Set the PHP Version per Domain in cPanel\"><\/p>\n<p><strong>3.<\/strong> Scroll down to the bottom of the page. Select your domain from the left side of the screen. You can view the <strong>PHP Version<\/strong> from the drop-down menu on the right. Please, select the appropriate PHP version from it and click on <strong>Apply<\/strong>.<br \/><img decoding=\"async\" src=\"https:\/\/kickhost.com\/img\/cpanel-multiphp-select-domain-full.gif\" loading=\"lazy\" alt=\"Cpanel multiphp select domain full - How to Set the PHP Version per Domain in cPanel\"><\/p>\n<p><strong>4.<\/strong> 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 <strong>apply<\/strong>.<br \/><img decoding=\"async\" src=\"https:\/\/kickhost.com\/img\/cpanel-multiphp-select-second-domain.gif\" loading=\"lazy\" alt=\"Cpanel multiphp select second domain - How to Set the PHP Version per Domain in cPanel\"><\/p>\n<p><strong>Congratulations<\/strong>, both of your domains are now using different PHP versions.<\/p>\n<h2>Match the software<\/h2>\n<p>Check which PHP versions your CMS, theme and plugins support. Use the newest supported version.<\/p>\n<h2>Test after the change<\/h2>\n<p>Reload each website. If you see errors, switch back to the previous version and update the plugin or theme.<\/p>\n<h2>Choosing PHP settings<\/h2>\n<p>Check that your theme and plugins support a PHP version before you switch, and test your site afterwards. If something breaks, switch back to the previous version and contact us.<\/p>\n<h2>Frequently asked questions<\/h2>\n<p><strong>Can two domains use different PHP versions?<\/strong> Yes. Each domain can have its own version.<\/p>\n<p><strong>Does changing PHP affect email?<\/strong> No. Only websites are affected.<\/p>\n<h2>Related guides<\/h2>\n<ul>\n<li><a href=\"https:\/\/kickhost.com\/en-za\/guides\/how-to-change-the-php-version-on-your-domain-in-cpanel\/\">Change PHP in MultiPHP Manager<\/a><\/li>\n<li><a href=\"https:\/\/kickhost.com\/en-za\/guides\/how-to-reset-the-php-version-to-the-default-version-in-cpanel\/\">Reset PHP to the default<\/a><\/li>\n<\/ul>\n<p>Need cPanel hosting in South Africa? <a href=\"https:\/\/kickhost.com\/en-za\/web-hosting\/\">See KickHost hosting plans<\/a> or <a href=\"https:\/\/kickhost.com\/en-za\/contact\/\">contact our team<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Set a different PHP version for each domain in cPanel. PHP steps for KickHost customers in South Africa.<\/p>\n","protected":false},"featured_media":0,"template":"","class_list":["post-50448","kickhost_tutorial","type-kickhost_tutorial","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/kickhost.com\/en-za\/wp-json\/wp\/v2\/kickhost_tutorial\/50448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kickhost.com\/en-za\/wp-json\/wp\/v2\/kickhost_tutorial"}],"about":[{"href":"https:\/\/kickhost.com\/en-za\/wp-json\/wp\/v2\/types\/kickhost_tutorial"}],"version-history":[{"count":4,"href":"https:\/\/kickhost.com\/en-za\/wp-json\/wp\/v2\/kickhost_tutorial\/50448\/revisions"}],"predecessor-version":[{"id":53538,"href":"https:\/\/kickhost.com\/en-za\/wp-json\/wp\/v2\/kickhost_tutorial\/50448\/revisions\/53538"}],"wp:attachment":[{"href":"https:\/\/kickhost.com\/en-za\/wp-json\/wp\/v2\/media?parent=50448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}