{"id":865,"date":"2023-10-09T15:06:28","date_gmt":"2023-10-09T09:36:28","guid":{"rendered":"https:\/\/www.heroxhost.com\/blog\/?p=865"},"modified":"2023-10-09T15:06:28","modified_gmt":"2023-10-09T09:36:28","slug":"how-to-change-php-version-from-cpanel","status":"publish","type":"post","link":"https:\/\/www.heroxhost.com\/blog\/how-to-change-php-version-from-cpanel\/","title":{"rendered":"How to change php version from cpanel in easy way ?"},"content":{"rendered":"<p>Our all servers gives you to control and run different versions of <b>PHP Versions<\/b> for application\/website. This is helpfull when using multiple applications\/website with additional requirements. In this blog we will shows you how to update your PHP version in cPanel with your <a href=\"https:\/\/www.heroxhost.com\/\" target=\"_blank\" rel=\"noopener\">Heroxhost<\/a> hosting account.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_78 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\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/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:\/\/www.heroxhost.com\/blog\/how-to-change-php-version-from-cpanel\/#Changing_the_PHP_version_in_cPanel_can_be_done_in_very_easy_way_Here_are_the_steps_to_change_the_PHP_version_in_cPanel\" >Changing the PHP version in cPanel can be done in very easy way, Here are the steps to change the PHP version in cPanel:<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.heroxhost.com\/blog\/how-to-change-php-version-from-cpanel\/#Log_in_to_cPanel\" >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-3\" href=\"https:\/\/www.heroxhost.com\/blog\/how-to-change-php-version-from-cpanel\/#Find_the_%E2%80%9CSelect_PHP_Version%E2%80%9D_option_under_software_section\" >Find the &#8220;Select PHP Version&#8221; option under software section :<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.heroxhost.com\/blog\/how-to-change-php-version-from-cpanel\/#Select_the_desired_PHP_version\" >Select the desired PHP version:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.heroxhost.com\/blog\/how-to-change-php-version-from-cpanel\/#Apply_the_changes\" >Apply the changes:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.heroxhost.com\/blog\/how-to-change-php-version-from-cpanel\/#Verify_the_change\" >Verify the change:<\/a><ul class='ez-toc-list-level-5' ><li class='ez-toc-heading-level-5'><ul class='ez-toc-list-level-5' ><li class='ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.heroxhost.com\/blog\/how-to-change-php-version-from-cpanel\/#Keep_in_mind_a_few_important_considerations\" >Keep in mind a few important considerations:<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Changing_the_PHP_version_in_cPanel_can_be_done_in_very_easy_way_Here_are_the_steps_to_change_the_PHP_version_in_cPanel\"><\/span>Changing the PHP version in cPanel can be done in very easy way, Here are the steps to change the PHP version in cPanel:<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<ol>\n<li>\n<h3><span class=\"ez-toc-section\" id=\"Log_in_to_cPanel\"><\/span><strong>Log in to cPanel:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Access your cPanel dashboard by entering your username and password. Usually, the login URL is <code>https:\/\/yourdomain.com\/cpanel<\/code>, where &#8220;yourdomain.com&#8221; is your website&#8217;s domain name. or login directly from Heroxhost client area.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-867 size-full\" src=\"https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/cPanel-login.png\" alt=\"cpanel login\" width=\"1298\" height=\"723\" srcset=\"https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/cPanel-login.png 1298w, https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/cPanel-login-300x167.png 300w, https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/cPanel-login-1024x570.png 1024w, https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/cPanel-login-768x428.png 768w\" sizes=\"auto, (max-width: 1298px) 100vw, 1298px\" \/><\/li>\n<li>\n<h3><span class=\"ez-toc-section\" id=\"Find_the_%E2%80%9CSelect_PHP_Version%E2%80%9D_option_under_software_section\"><\/span><strong>Find the &#8220;Select PHP Version&#8221; option under software section :<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once you find option click on it and open it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-868 size-full\" src=\"https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/Select-PHP.png\" alt=\"php version\" width=\"1180\" height=\"483\" srcset=\"https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/Select-PHP.png 1180w, https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/Select-PHP-300x123.png 300w, https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/Select-PHP-1024x419.png 1024w, https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/Select-PHP-768x314.png 768w\" sizes=\"auto, (max-width: 1180px) 100vw, 1180px\" \/><\/li>\n<li>\n<h3><span class=\"ez-toc-section\" id=\"Select_the_desired_PHP_version\"><\/span><strong>Select the desired PHP version:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In the Select PHP Version section, you should see a dropdown menu or a list of available PHP versions. Choose the PHP version you want to switch to. Make sure to select a version that is compatible with your website&#8217;s software.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-869 size-full\" src=\"https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/Dropdown.png\" alt=\"php selector\" width=\"1570\" height=\"461\" srcset=\"https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/Dropdown.png 1570w, https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/Dropdown-300x88.png 300w, https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/Dropdown-1024x301.png 1024w, https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/Dropdown-768x226.png 768w, https:\/\/www.heroxhost.com\/blog\/wp-content\/uploads\/2023\/10\/Dropdown-1536x451.png 1536w\" sizes=\"auto, (max-width: 1570px) 100vw, 1570px\" \/><\/li>\n<li>\n<h3><span class=\"ez-toc-section\" id=\"Apply_the_changes\"><\/span><strong>Apply the changes:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>After selecting the desired PHP version, click a button like &#8220;Set as Current&#8221; or &#8220;Save&#8221; to apply the changes.<\/li>\n<li>\n<h3><span class=\"ez-toc-section\" id=\"Verify_the_change\"><\/span><strong>Verify the change:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once you&#8217;ve applied the new PHP version, it&#8217;s a good idea to test your website to ensure that it&#8217;s functioning correctly. Check various pages and functionality to make sure everything works as expected.<\/li>\n<\/ol>\n<h5><span class=\"ez-toc-section\" id=\"Keep_in_mind_a_few_important_considerations\"><\/span>Keep in mind a few important considerations:<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<ul>\n<li>Some hosting providers may not offer the option to change PHP versions in cPanel. In such cases, you might need to contact your hosting support for assistance. at Heroxhost we support multi PHP versions upto latest ones.<\/li>\n<li>Changing the PHP version can affect your website&#8217;s compatibility with certain plugins, themes, or scripts. Ensure that the software you&#8217;re using is compatible with the selected PHP version.<\/li>\n<li>It&#8217;s a good practice to keep your PHP version up to date, but also make sure that any software you rely on is compatible with the newer versions.<\/li>\n<li>If you encounter issues after changing the PHP version, you can usually switch back to the previous version using the same process.<\/li>\n<\/ul>\n<p>For Faster loading wordpress websites get our fastest web hosting. &#8211; <a href=\"https:\/\/www.heroxhost.com\/business-hosting.php\">WordPress Hosting<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Our all servers gives you to control and run different versions of PHP Versions for application\/website. This is helpfull when using multiple applications\/website with additional requirements. In this blog we will shows you how to update your PHP version in cPanel with your Heroxhost hosting account. Changing the PHP version in cPanel can be done [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":870,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,20],"tags":[],"class_list":["post-865","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","category-howto","entry","has-media"],"_links":{"self":[{"href":"https:\/\/www.heroxhost.com\/blog\/wp-json\/wp\/v2\/posts\/865","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.heroxhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.heroxhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.heroxhost.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.heroxhost.com\/blog\/wp-json\/wp\/v2\/comments?post=865"}],"version-history":[{"count":3,"href":"https:\/\/www.heroxhost.com\/blog\/wp-json\/wp\/v2\/posts\/865\/revisions"}],"predecessor-version":[{"id":872,"href":"https:\/\/www.heroxhost.com\/blog\/wp-json\/wp\/v2\/posts\/865\/revisions\/872"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.heroxhost.com\/blog\/wp-json\/wp\/v2\/media\/870"}],"wp:attachment":[{"href":"https:\/\/www.heroxhost.com\/blog\/wp-json\/wp\/v2\/media?parent=865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.heroxhost.com\/blog\/wp-json\/wp\/v2\/categories?post=865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.heroxhost.com\/blog\/wp-json\/wp\/v2\/tags?post=865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}