{"id":124,"date":"2017-01-18T15:59:58","date_gmt":"2017-01-18T13:59:58","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=124\/"},"modified":"2022-05-11T18:05:45","modified_gmt":"2022-05-11T15:05:45","slug":"how-to-change-the-php-version-of-my-account","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/how-to-change-the-php-version-of-my-account\/","title":{"rendered":"How to change the PHP version of my account?"},"content":{"rendered":"\n<p>In this article, we are going to learn how to change the PHP settings and versions on managed hosting accounts with ScalaHosting. The process is very easy, regardless if you are using SPanel or cPanel as a control panel.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Changing your site&#8217;s PHP version through cPanel<\/h2>\n\n\n\n<p>To change the PHP version for your <a href=\"https:\/\/www.scalahosting.com\/web-hosting-for-small-business.html\" target=\"_blank\" rel=\"noopener noreferrer\">web hosting<\/a> account on servers running EasyApache 3, follow the steps below:<\/p>\n\n\n\n<p>1. Log into your cPanel account.<br>2.&nbsp;Scroll down and find&nbsp;<strong>Software\/Services<\/strong> and the <strong>PHP Version <\/strong>menu below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"305\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-1024x305.png\" alt=\"How to change the PHP version of my account?, Changing your site&#8217;s PHP version through cPanel\" class=\"wp-image-125\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-1024x305.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-300x89.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-768x229.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version.png 1280w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<p>3. You can change the PHP settings for the <strong>entire public_html<\/strong> or for <strong>any other directory in public_html<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"359\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-2-1024x359.png\" alt=\"How to change the PHP version of my account?, Changing your site&#8217;s PHP version through cPanel 2\" class=\"wp-image-126\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-2-1024x359.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-2-300x105.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-2-768x270.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-2.png 1279w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<p>4. You can choose between PHP 5.3, 5.4, 5.5, 5.6, and 7.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"187\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-3-1024x187.png\" alt=\"How to change the PHP version of my account?, Changing your site&#8217;s PHP version through cPanel 3\" class=\"wp-image-127\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-3-1024x187.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-3-300x55.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-3-768x140.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-3.png 1280w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<p>If you are on a server using EasyApache4, you would need to edit your PHP version following the instructions below.<\/p>\n\n\n\n<p>Under the&nbsp;<strong>Software<\/strong> section, look for the icon <strong>MultiPHP Manager<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"206\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-manage.png\" alt=\"How to change the PHP version of my account?, Changing your site&#8217;s PHP version through cPanel 4\" class=\"wp-image-229\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-manage.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-manage-300x60.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/php-version-manage-768x155.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<p>Once you click on it, a new page will load, which will allow you to change the PHP version for your entire account. That will be the default PHP configuration used by all your domain names and subdomains, except you didn&#8217;t choose a separate PHP version to be used for the specific website.<\/p>\n\n\n\n<p>Check out the screenshot below:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"355\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/select-php-version.png\" alt=\"How to change the PHP version of my account?, Changing your site&#8217;s PHP version through cPanel 5\" class=\"wp-image-230\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/select-php-version.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/select-php-version-300x104.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/select-php-version-768x266.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<p>The&nbsp;<strong>System PHP Version<\/strong> is the default version for your web hosting account. You can change that by choosing one of the available PHP versions and clicking on the <strong>Apply<\/strong> button.<\/p>\n\n\n\n<p>Alternatively, you can have a different PHP version for each of your websites. To do that, you need to <strong>select the chosen site from the list<\/strong> and <strong>choose a PHP version for it from the drop-down menu<\/strong>.<\/p>\n\n\n\n<p>Click on the <strong>Apply<\/strong> button afterward.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Changing your website&#8217;s PHP version with SPanel<\/h2>\n\n\n\n<p>The process for SPanel users is not much different. Here are the steps.<\/p>\n\n\n\n<p>1. Log into SPanel&#8217;s User Interface.<\/p>\n\n\n\n<p>2. Open the <strong>PHP Manager <\/strong>available under the <strong>Tools <\/strong>section.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"844\" height=\"301\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/347.png\" alt=\"How to change the PHP version of my account?, Changing your website&#8217;s PHP version with SPanel\" class=\"wp-image-4024\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/347.png 844w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/347-300x107.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/347-768x274.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure><\/div>\n\n\n\n<p>3. Click the <strong>Change<\/strong> button next to the website you want to edit, and select the PHP version you need.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"828\" height=\"497\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/348.png\" alt=\"How to change the PHP version of my account?, Changing your website&#8217;s PHP version with SPanel 2\" class=\"wp-image-4026\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/348.png 828w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/348-300x180.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2017\/01\/348-768x461.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure><\/div>\n\n\n\n<p>You can also control the settings of each PHP version. That is done by creating a <strong>custom php.ini file<\/strong>.<\/p>\n\n\n\n<p>You can create a global php.ini file or separate custom php.ini files for each of your websites. That allows you to configure PHP per website to fit your software requirements.<\/p>\n\n\n\n<p>The procedure works the same for shared hosting, <strong><a href=\"https:\/\/www.scalahosting.com\/blog\/vps-vs-dedicated-server-which-hosting-solution-fits-your-business\/\">VPS, or Dedicated Server<\/a><\/strong> solutions.<\/p>\n\n\n\n<p>To learn more about creating and managing your custom php.ini files, please read <a href=\"https:\/\/www.scalahosting.com\/kb\/create-custom-php-ini-file\/\">this helpful article<\/a>.<\/p>\n\n\n\n<p>Feel free to contact our support team if you have additional questions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we are going to learn how to change the PHP settings and versions on managed hosting accounts with ScalaHosting. The process is very easy, regardless if you are using SPanel or cPanel as a control panel. Changing your site&#8217;s PHP version through cPanel To change the PHP version for your web hosting [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":""},"categories":[34,29],"tags":[46],"class_list":["post-124","post","type-post","status-publish","format-standard","hentry","category-web-hosting","category-reseller-hosting","tag-custom-php-version"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=124"}],"version-history":[{"count":13,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/124\/revisions"}],"predecessor-version":[{"id":4451,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/124\/revisions\/4451"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}