{"id":16400,"date":"2026-11-01T15:41:10","date_gmt":"2026-11-01T14:41:10","guid":{"rendered":"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/"},"modified":"2026-11-01T15:41:10","modified_gmt":"2026-11-01T14:41:10","slug":"how-to-change-php-version-in-cpanel","status":"publish","type":"post","link":"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/","title":{"rendered":"How to Change PHP Version in cPanel"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_87 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#How_to_Change_PHP_Version_in_cPanel_A_Step-by-Step_Guide\" >How to Change PHP Version in cPanel: A Step-by-Step Guide<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#Why_Does_Your_PHP_Version_Matter\" >Why Does Your PHP Version Matter?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#What_You_Need_Before_You_Begin\" >What You Need Before You Begin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#How_to_Change_PHP_Version_in_cPanel_Using_MultiPHP_Manager\" >How to Change PHP Version in cPanel Using MultiPHP Manager<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#Step_1_Log_In_to_cPanel\" >Step 1: Log In to cPanel<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#Step_2_Locate_the_MultiPHP_Manager\" >Step 2: Locate the MultiPHP Manager<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#Step_3_Select_Your_Domain\" >Step 3: Select Your Domain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#Step_4_Choose_Your_Desired_PHP_Version\" >Step 4: Choose Your Desired PHP Version<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#Step_5_Apply_the_Changes\" >Step 5: Apply the Changes<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#How_to_Change_PHP_Version_in_cPanel_Using_MultiPHP_INI_Editor\" >How to Change PHP Version in cPanel Using MultiPHP INI Editor<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#Accessing_the_MultiPHP_INI_Editor\" >Accessing the MultiPHP INI Editor<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#Changing_PHP_Version_via_htaccess\" >Changing PHP Version via .htaccess<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#How_to_Verify_Your_PHP_Version_Has_Changed\" >How to Verify Your PHP Version Has Changed<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#Common_Issues_When_Changing_PHP_Version_in_cPanel\" >Common Issues When Changing PHP Version in cPanel<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#Website_Displays_a_White_Screen_or_Errors\" >Website Displays a White Screen or Errors<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#PHP_Version_Not_Showing_in_MultiPHP_Manager\" >PHP Version Not Showing in MultiPHP Manager<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#Further_Reading_and_Support\" >Further Reading and Support<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/da-manager.com\/blog\/how-to-change-php-version-in-cpanel\/#Final_Thoughts\" >Final Thoughts<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<p><html><br \/>\n<head><br \/>\n<title>How to Change PHP Version in cPanel \u2013 A Complete Guide<\/title><br \/>\n<\/head><br \/>\n<body><\/p>\n<h1><span class=\"ez-toc-section\" id=\"How_to_Change_PHP_Version_in_cPanel_A_Step-by-Step_Guide\"><\/span>How to Change PHP Version in cPanel: A Step-by-Step Guide<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>If you manage a website hosted on a cPanel server, knowing how to change PHP version in cPanel is one of the most important technical skills you can have. Whether you are upgrading to a newer version of PHP for improved performance and security, or rolling back to an older version to maintain compatibility with a legacy application, cPanel makes the process relatively straightforward. In this guide, we will walk you through everything you need to know, from understanding why PHP versions matter to completing the change with confidence.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Why_Does_Your_PHP_Version_Matter\"><\/span>Why Does Your PHP Version Matter?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>PHP is the server-side scripting language that powers a vast portion of the web, including popular platforms such as WordPress, Joomla, and Drupal. Each version of PHP brings improvements in speed, security patches, and new features. Running an outdated version of PHP can expose your website to security vulnerabilities, slow down your site&#8217;s performance, and even cause compatibility issues with modern plugins and themes.<\/p>\n<p>On the other hand, upgrading too quickly without checking compatibility can break your website if your scripts, plugins, or themes have not yet been updated to support the newer PHP version. This is why it is essential to know how to change PHP version in cPanel so that you can manage these transitions carefully and confidently.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_You_Need_Before_You_Begin\"><\/span>What You Need Before You Begin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before making any changes to your PHP version, there are a few things you should prepare:<\/p>\n<ul>\n<li><strong>Back up your website:<\/strong> Always create a full backup of your files and database before making server-level changes. This ensures you can restore your site if anything goes wrong.<\/li>\n<li><strong>Check plugin and theme compatibility:<\/strong> If you are running WordPress or another CMS, verify that your active plugins and themes are compatible with the PHP version you intend to switch to.<\/li>\n<li><strong>Access to cPanel:<\/strong> You will need your cPanel login credentials. These are typically provided by your hosting provider.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Change_PHP_Version_in_cPanel_Using_MultiPHP_Manager\"><\/span>How to Change PHP Version in cPanel Using MultiPHP Manager<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The most common method to change PHP version in cPanel is through the <strong>MultiPHP Manager<\/strong>. This tool allows you to set different PHP versions for individual domains on your hosting account, giving you granular control over your server environment.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Log_In_to_cPanel\"><\/span>Step 1: Log In to cPanel<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Open your web browser and navigate to your cPanel login page. This is usually found at <em>yourdomain.com\/cpanel<\/em> or <em>yourdomain.com:2083<\/em>. Enter your username and password to access the control panel dashboard.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Locate_the_MultiPHP_Manager\"><\/span>Step 2: Locate the MultiPHP Manager<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once you are inside cPanel, look for the <strong>Software<\/strong> section. Within this section, you should see the <strong>MultiPHP Manager<\/strong> icon. Click on it to open the PHP management tool. If you cannot find it, you can use the search bar at the top of the cPanel dashboard and type &#8220;MultiPHP Manager&#8221;.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Select_Your_Domain\"><\/span>Step 3: Select Your Domain<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Inside the MultiPHP Manager, you will see a list of all the domains and subdomains associated with your hosting account. Each domain will display its currently assigned PHP version. Tick the checkbox next to the domain or subdomain for which you want to change the PHP version.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Choose_Your_Desired_PHP_Version\"><\/span>Step 4: Choose Your Desired PHP Version<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>After selecting your domain, look for the <strong>PHP Version<\/strong> dropdown menu at the top of the page. Click on it to see all the available PHP versions that your hosting provider has installed on the server. Common options include PHP 7.4, PHP 8.0, PHP 8.1, PHP 8.2, and PHP 8.3. Select the version that suits your requirements.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_Apply_the_Changes\"><\/span>Step 5: Apply the Changes<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once you have selected the appropriate PHP version, click the <strong>Apply<\/strong> button. cPanel will process the request and apply the new PHP version to your selected domain. This usually takes just a few seconds. You will see a confirmation message once the change has been successfully applied.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Change_PHP_Version_in_cPanel_Using_MultiPHP_INI_Editor\"><\/span>How to Change PHP Version in cPanel Using MultiPHP INI Editor<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In addition to changing the PHP version itself, you may also want to adjust specific PHP settings for your domain. The <strong>MultiPHP INI Editor<\/strong>, also found in the Software section of cPanel, allows you to modify PHP configuration values such as memory limits, upload sizes, and error reporting settings. This tool works in conjunction with the MultiPHP Manager and gives you even greater control over your PHP environment.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Accessing_the_MultiPHP_INI_Editor\"><\/span>Accessing the MultiPHP INI Editor<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Navigate to the Software section in cPanel and click on <strong>MultiPHP INI Editor<\/strong>. Select the domain you wish to configure from the dropdown menu. You can then switch between Basic Mode, which offers a simplified list of common settings, and Editor Mode, which allows you to manually edit the full PHP configuration file.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Changing_PHP_Version_via_htaccess\"><\/span>Changing PHP Version via .htaccess<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In some hosting environments, you may also be able to change the PHP version for a specific directory by editing the <strong>.htaccess<\/strong> file. This method is useful if you want to apply a different PHP version to a subdirectory without affecting the rest of your site. To do this, add a line such as the following to your .htaccess file:<\/p>\n<p><em>AddHandler application\/x-httpd-php82 .php<\/em><\/p>\n<p>However, this method depends on your hosting provider&#8217;s configuration, and it is generally recommended to use the MultiPHP Manager for a more reliable and supported approach.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Verify_Your_PHP_Version_Has_Changed\"><\/span>How to Verify Your PHP Version Has Changed<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>After making the change, it is good practice to verify that the correct PHP version is now active on your domain. You can do this by creating a simple PHP file containing the following code and uploading it to your website&#8217;s root directory:<\/p>\n<p><em>&lt;?php phpinfo(); ?&gt;<\/em><\/p>\n<p>Access this file through your browser, and you will see a detailed page displaying the current PHP version and configuration settings. Remember to delete this file afterwards, as it exposes sensitive server information.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Common_Issues_When_Changing_PHP_Version_in_cPanel\"><\/span>Common Issues When Changing PHP Version in cPanel<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Website_Displays_a_White_Screen_or_Errors\"><\/span>Website Displays a White Screen or Errors<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If your website shows a blank white screen or throws errors after changing the PHP version, it is likely a compatibility issue with your themes or plugins. Try reverting to the previous PHP version and then check which components need to be updated before attempting the upgrade again.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"PHP_Version_Not_Showing_in_MultiPHP_Manager\"><\/span>PHP Version Not Showing in MultiPHP Manager<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If the PHP version you need is not listed in the dropdown, it may not be installed on your server. Contact your hosting provider and ask them to install the required PHP version.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Further_Reading_and_Support\"><\/span>Further Reading and Support<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Managing your hosting environment effectively goes beyond just changing PHP versions. For more helpful guides on web hosting, domain management, and server configuration, visit the <a href=\"https:\/\/da-manager.com\/blog\" target=\"_blank\">DA Manager Blog<\/a>, where you will find a wealth of resources to help you get the most out of your hosting setup.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span>Final Thoughts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Knowing how to change PHP version in cPanel is an essential skill for any website owner or developer. By using the MultiPHP Manager, you can quickly and safely switch between PHP versions, ensuring your website remains secure, fast, and compatible with the latest software. Always remember to back up your site before making any changes, test your website thoroughly after switching versions, and do not hesitate to reach out to your hosting provider if you encounter any issues. With a little preparation and the steps outlined in this guide, managing your PHP version in cPanel should be a smooth and straightforward process.<\/p>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Change PHP Version in cPanel \u2013 A Complete Guide<\/p>\n<p>How to Change PHP Version in cPanel: A Step-by-Step Guide<\/p>\n<p>If you manage a website hosted on a cPanel server, knowing how to change PHP version in cPanel is one of the most important technical skills you can have. Whether you are upgrading <\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mbp_gutenberg_autopost":false,"footnotes":""},"categories":[147],"tags":[],"class_list":["post-16400","post","type-post","status-publish","format-standard","category-general"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/da-manager.com\/blog\/wp-json\/wp\/v2\/posts\/16400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/da-manager.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/da-manager.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/da-manager.com\/blog\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/da-manager.com\/blog\/wp-json\/wp\/v2\/comments?post=16400"}],"version-history":[{"count":0,"href":"https:\/\/da-manager.com\/blog\/wp-json\/wp\/v2\/posts\/16400\/revisions"}],"wp:attachment":[{"href":"https:\/\/da-manager.com\/blog\/wp-json\/wp\/v2\/media?parent=16400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/da-manager.com\/blog\/wp-json\/wp\/v2\/categories?post=16400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/da-manager.com\/blog\/wp-json\/wp\/v2\/tags?post=16400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}