{"id":27906,"date":"2026-03-04T19:36:19","date_gmt":"2026-03-04T17:36:19","guid":{"rendered":"https:\/\/www.cheops-technology.ch\/docs\/how-do-i-change-my-php-version-for-a-domain-or-subdomain\/"},"modified":"2026-04-20T17:03:24","modified_gmt":"2026-04-20T15:03:24","password":"","slug":"how-do-i-change-my-php-version-for-a-domain-or-subdomain","status":"publish","type":"docs","link":"https:\/\/www.cheops-technology.ch\/en\/docs\/how-do-i-change-my-php-version-for-a-domain-or-subdomain\/","title":{"rendered":"How do I change my PHP version for a domain or subdomain?"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\" id=\"CommentchangermaversionPHPpourundomaineousousdomaine?-InterfaceCpanel\"><strong>Cpanel interface<\/strong><\/h1>\n\n<p>Connect to your Cpanel.  <br\/>In the Software section you will find :  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.cheops-technology.ch\/wp-content\/uploads\/2026\/04\/image-2024-2-8_11-16-12.png\" alt=\"\"\/><\/figure>\n\n<p>&#8220;MultiPHP Manager allows you to set the &#8220;EasyApache PHP or CloudLinux PHP&#8221; version through Cpanel.  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.cheops-technology.ch\/wp-content\/uploads\/2026\/04\/image-2024-2-8_11-17-14.png\" alt=\"\"\/><\/figure>\n\n<p>&#8220;Select PHP Version&#8221; allows you to set the PHP version of CloudLinux on which you can manage PHP extensions and options.<\/p>\n\n<p><strong>NB: <\/strong>EasyApache is available up to version php 7.4, while the CloudLinux version is available up to version 8.1.<\/p>\n\n<p><strong>In practice<\/strong><\/p>\n\n<p>I want to install a new version of Joomla which requires a minimum version of php7.2.5 but recommends using php8.0 or higher.<\/p>\n\n<p>In this case, we&#8217;ll be using a php8.1 version of CloudLinux. (in order to manually manage php options and extensions.   <\/p>\n\n<h3 class=\"wp-block-heading\" id=\"CommentchangermaversionPHPpourundomaineousousdomaine?-MultiPHPManager\"><strong>MultiPHP Manager<\/strong><\/h3>\n\n<p>First of all, we need to specify in the <strong>MultiPHP Manager <\/strong>that we want to use Cloudlinux (alt-phpxx) and not EasyApache (ea-phpxx), if you haven&#8217;t already done so:  <\/p>\n\n<ol class=\"wp-block-list\">\n<li>Select the desired domain or sub-domain<\/li>\n\n\n\n<li>Click on the drop-down menu<\/li>\n\n\n\n<li>Choose the php version you want (PHP8.1(alt-php81) in our case)<\/li>\n\n\n\n<li>Click on &#8220;Apply<\/li>\n<\/ol>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.cheops-technology.ch\/wp-content\/uploads\/2026\/04\/image-2024-2-8_11-25-4.png\" alt=\"\"\/><\/figure>\n\n<p><br\/>Then you can see that the PHP version has changed:  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.cheops-technology.ch\/wp-content\/uploads\/2026\/04\/image-2024-2-8_11-25-36.png\" alt=\"\"\/><\/figure>\n\n<h3 class=\"wp-block-heading\" id=\"CommentchangermaversionPHPpourundomaineousousdomaine?-SelectPHPVersion\"><strong>Select PHP Version<\/strong><\/h3>\n\n<p>We will now define the use of php via CloudLinux :<\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.cheops-technology.ch\/wp-content\/uploads\/2026\/04\/image-2024-2-8_11-26-39.png\" alt=\"\"\/><\/figure>\n\n<p>In our case, we&#8217;ll click on<strong>&#8220;native (5.6) (current)<\/strong>&#8221; and then on version<strong>&#8220;8.1<\/strong>&#8220;.  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.cheops-technology.ch\/wp-content\/uploads\/2026\/04\/image-2024-2-8_11-28-3.png\" alt=\"\"\/><\/figure>\n\n<p>Then click on<strong>&#8220;set as current<\/strong>&#8220;.<\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.cheops-technology.ch\/wp-content\/uploads\/2026\/04\/image-2024-2-8_11-28-31.png\" alt=\"\"\/><\/figure>\n\n<p>On my domain, I see that the PHP version is still not managed by CloudLinux :  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.cheops-technology.ch\/wp-content\/uploads\/2026\/04\/image-2024-2-8_11-31-16.png\" alt=\"\"\/><\/figure>\n\n<p>To apply our CloudLinux configuration, we need to click on &#8220;Use PHP Selector&#8221;.<\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.cheops-technology.ch\/wp-content\/uploads\/2026\/04\/image-2024-2-8_11-32-5.png\" alt=\"\"\/><\/figure>\n\n<p>Then confirm the action:  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.cheops-technology.ch\/wp-content\/uploads\/2026\/04\/image-2024-2-8_11-32-33.png\" alt=\"\"\/><\/figure>\n\n<p>Now we have the CloudLinux logo:  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.cheops-technology.ch\/wp-content\/uploads\/2026\/04\/image-2024-2-8_11-33-4.png\" alt=\"\"\/><\/figure>\n\n<h3 class=\"wp-block-heading\" id=\"CommentchangermaversionPHPpourundomaineousousdomaine?-Lesextensions\"><strong>Extensions  <\/strong><\/h3>\n\n<p>From the extensions menu you can manage the add-ons for the php version you are currently using:  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.cheops-technology.ch\/wp-content\/uploads\/2026\/04\/image-2024-2-8_11-36-3.png\" alt=\"\"\/><\/figure>\n\n<p>You&#8217;ll need to check for errors such as &#8220;extension php-zip is missing&#8221; during installation. This is where you activate the module concerned.   <\/p>\n\n<h3 class=\"wp-block-heading\" id=\"CommentchangermaversionPHPpourundomaineousousdomaine?-Options\"><strong>Options<\/strong><\/h3>\n\n<p>In this category, you can manage various parameters to help you correct errors or modify settings such as &#8220;memory_limit&#8221; or &#8220;upload_max_filesize&#8221;.<\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.cheops-technology.ch\/wp-content\/uploads\/2026\/04\/image-2024-2-8_11-47-58.png\" alt=\"\"\/><\/figure>\n\n<h4 class=\"wp-block-heading\" id=\"CommentchangermaversionPHPpourundomaineousousdomaine?-Pourtoutesquestionscompl&#xE9;mentairesnotresupportreste&#xE0;votredispositionpart&#xE9;l&#xE9;phoneau0227062288ouparmail&#xE0;support@dfi.ch\"><strong>If you have any further questions, please do not hesitate to contact our support team by telephone on 022 706 22 88 or by e-mail at support@dfi.ch.<\/strong><\/h4>\n","protected":false},"excerpt":{"rendered":"<p>Cpanel interface Connect to your Cpanel. In the Software section you will find : &#8220;MultiPHP Manager allows you to set the &#8220;EasyApache PHP or CloudLinux PHP&#8221; version through Cpanel. &#8220;Select PHP Version&#8221; allows you to set the PHP version of CloudLinux on which you can manage PHP extensions and options. NB: EasyApache is available up [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":29803,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[136],"doc_tag":[],"class_list":["post-27906","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-web-hosting"],"year_month":"2026-05","word_count":334,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Support","author_nicename":"support","author_url":"https:\/\/www.cheops-technology.ch\/en\/author\/support\/"},"doc_category_info":[{"term_name":"Web hosting","term_url":"https:\/\/www.cheops-technology.ch\/en\/docs-category\/web-hosting\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs\/27906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/comments?post=27906"}],"version-history":[{"count":14,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs\/27906\/revisions"}],"predecessor-version":[{"id":29853,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs\/27906\/revisions\/29853"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/media\/29803"}],"wp:attachment":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/media?parent=27906"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/doc_category?post=27906"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/doc_tag?post=27906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}