{"id":353,"date":"2024-05-10T20:58:59","date_gmt":"2024-05-10T15:28:59","guid":{"rendered":"https:\/\/mumbaiwebhosting.co.in\/articles\/?p=353"},"modified":"2024-05-10T21:55:16","modified_gmt":"2024-05-10T16:25:16","slug":"php-version-in-cpanel","status":"publish","type":"post","link":"https:\/\/mumbaiwebhosting.co.in\/articles\/php-version-in-cpanel\/","title":{"rendered":"PHP version in cPanel"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"352\" height=\"143\" src=\"https:\/\/mumbaiwebhosting.co.in\/articles\/wp-content\/uploads\/2024\/05\/PHP-version.png\" alt=\"\" class=\"wp-image-358\" srcset=\"https:\/\/mumbaiwebhosting.co.in\/articles\/wp-content\/uploads\/2024\/05\/PHP-version.png 352w, https:\/\/mumbaiwebhosting.co.in\/articles\/wp-content\/uploads\/2024\/05\/PHP-version-300x122.png 300w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#log-in-to-c-panel\">Log in to cPanel:<\/a><\/li><li><a href=\"#locate-the-php-configuration-tools\">Locate the PHP Configuration Tools:<\/a><\/li><li><a href=\"#select-the-domain-or-directory\">Select the Domain or Directory:<\/a><\/li><li><a href=\"#choose-the-php-version\">Choose the PHP Version:<\/a><\/li><li><a href=\"#apply-changes\">Apply Changes: <\/a><\/li><li><a href=\"#verify-changes\">Verify Changes:<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<p><br>In cPanel, the <a href=\"https:\/\/www.squarebrothers.com\/\" target=\"_blank\" rel=\"noopener\">PHP version<\/a> can typically be managed through the &#8220;MultiPHP Manager&#8221; or &#8220;PHP Selector&#8221; feature, depending on your hosting provider&#8217;s configuration. Here&#8217;s a general guide on how to check and change the PHP in cPanel:<\/p>\n\n\n\n<p>Our newest servers give you the option to run different versions of\u00a0<strong>PHP<\/strong>\u00a0on your account. This will come in handy when using multiple applications with additional requirements. This article shows you how to update your PHP version in cPanel with your\u00a0account.\u00a0<\/p>\n\n\n\n<p><strong>NOTE:&nbsp;<\/strong>The PHP versions we currently support are PHP 5.6, 7.0, 7.2, 7.3, 7.4, 8.0.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"log-in-to-c-panel\"><strong>Log in to cPanel<\/strong>:<\/h2>\n\n\n\n<p> Access your cPanel dashboard using your hosting account credentials.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"locate-the-php-configuration-tools\"><strong>Locate the PHP Configuration Tools<\/strong>:<\/h2>\n\n\n\n<p> Look for options like &#8220;MultiPHP Manager&#8221; or &#8220;PHP Selector&#8221; in the cPanel dashboard. These tools allow you to manage PHP and settings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"select-the-domain-or-directory\"><strong>Select the Domain or Directory<\/strong>:<\/h2>\n\n\n\n<p> If you have multiple domains or directories, choose the one for which you want to change the PHP and it&#8217;s versions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"choose-the-php-version\"><strong>Choose the PHP Version<\/strong>:<\/h2>\n\n\n\n<p> In the PHP Configuration section, you should see a dropdown menu or list of available PHP versions. Select the desired PHP of versions from the options provided.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"apply-changes\"><strong>Apply Changes<\/strong>: <\/h2>\n\n\n\n<p>Once you&#8217;ve selected the <a href=\"http:\/\/mumbaiwebhosting.co.in\">PHP version<\/a>, save your changes. Depending on the cPanel interface, this might involve clicking an &#8220;Apply&#8221; or &#8220;Save&#8221; button.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"verify-changes\"><strong>Verify Changes<\/strong>:<\/h2>\n\n\n\n<p> After applying the changes, it&#8217;s a good idea to verify that the correct PHP version is now active for your domain. You can do this by creating a PHP info file or checking the PHP and version via a script or application running on your website.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<p>Please note that the availability of version and configuration options may vary depending on your hosting provider and their specific cPanel setup. If you&#8217;re unable to find the PHP configuration tools or encounter any issues, you may need to reach out to your hosting provider&#8217;s support team for assistance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In cPanel, the PHP version can typically be managed through the &#8220;MultiPHP Manager&#8221; or &#8220;PHP Selector&#8221; feature, depending on your hosting provider&#8217;s configuration. Here&#8217;s a general guide on how to check and change the PHP in cPanel: Our newest servers give you the option to run different versions of\u00a0PHP\u00a0on your account. This will come in [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-353","post","type-post","status-publish","format-standard","hentry","category-php-version-in-cpanel"],"_links":{"self":[{"href":"https:\/\/mumbaiwebhosting.co.in\/articles\/wp-json\/wp\/v2\/posts\/353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mumbaiwebhosting.co.in\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mumbaiwebhosting.co.in\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mumbaiwebhosting.co.in\/articles\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mumbaiwebhosting.co.in\/articles\/wp-json\/wp\/v2\/comments?post=353"}],"version-history":[{"count":7,"href":"https:\/\/mumbaiwebhosting.co.in\/articles\/wp-json\/wp\/v2\/posts\/353\/revisions"}],"predecessor-version":[{"id":356,"href":"https:\/\/mumbaiwebhosting.co.in\/articles\/wp-json\/wp\/v2\/posts\/353\/revisions\/356"}],"wp:attachment":[{"href":"https:\/\/mumbaiwebhosting.co.in\/articles\/wp-json\/wp\/v2\/media?parent=353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mumbaiwebhosting.co.in\/articles\/wp-json\/wp\/v2\/categories?post=353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mumbaiwebhosting.co.in\/articles\/wp-json\/wp\/v2\/tags?post=353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}