{"id":2665,"date":"2021-09-07T08:45:35","date_gmt":"2021-09-07T13:45:35","guid":{"rendered":"https:\/\/www.knownhost.com\/kb\/?p=2665"},"modified":"2022-01-21T07:18:02","modified_gmt":"2022-01-21T13:18:02","slug":"how-to-change-php-version-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/","title":{"rendered":"How to change PHP Version in cPanel?"},"content":{"rendered":"\n<p>As time goes by, new PHP versions are being introduced, and old ones reach their EOL (End Of Life). Hence, sometimes the default PHP version of the web server might not work as expected for your script, or you want to update the PHP version for the specific hosted Domain. In that case, you might need to change the PHP version according to compatibility. cPanel offers you the option to change the PHP version conveniently.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>1. Log in to&nbsp;cPanel&nbsp;using&nbsp;<strong>Username&nbsp;<\/strong>&amp;&nbsp;<strong>Password<\/strong>.&nbsp;i.e;&nbsp;<em>(https:\/\/yourdomain.com:2083 or https:\/\/yourdomain.com\/cpanel)<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png\" alt=\"\" class=\"wp-image-2388\"\/><\/figure>\n\n\n\n<p>2. Navigate to<strong> SOFTWARE \u2192 MultiPHP Manager<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"467\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/navigate-to-multi-php-manager-1024x467.jpg\" alt=\"navigate-to-multi-php-manager\" class=\"wp-image-2667\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/navigate-to-multi-php-manager-1024x467.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/navigate-to-multi-php-manager-300x137.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/navigate-to-multi-php-manager-768x350.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/navigate-to-multi-php-manager.jpg 1424w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>3. Under &#8220;<strong>Set PHP Version per Domain<\/strong>&#8220;, you can find the PHP version of all the domains and subdomains.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"504\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/list-of-all-domains-with-php-version-1024x504.jpg\" alt=\"list-of-all-domains-with-php-version\" class=\"wp-image-2666\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/list-of-all-domains-with-php-version-1024x504.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/list-of-all-domains-with-php-version-300x148.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/list-of-all-domains-with-php-version-768x378.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/list-of-all-domains-with-php-version-1536x756.jpg 1536w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/list-of-all-domains-with-php-version.jpg 1897w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>4. Select specific Domain \u2192 Select required PHP Version from Drop Down \u2192 Click on &#8220;<strong>Apply<\/strong>&#8220;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"505\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/select-domain-then-select-php-version-1024x505.jpg\" alt=\"How to change PHP Version in cPanel\" class=\"wp-image-2668\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/select-domain-then-select-php-version-1024x505.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/select-domain-then-select-php-version-300x148.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/select-domain-then-select-php-version-768x379.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/select-domain-then-select-php-version-1536x757.jpg 1536w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/select-domain-then-select-php-version.jpg 1897w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Note:<\/strong> Before updating the PHP version, we recommend you to take full backup of the cPanel account.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Now that we\u2019ve gone over how to change the PHP version for any domain\/subdomain right from cPanel. Adjust the PHP version as per requirement and deploy new projects with cPanel hosting powered by <strong>KnownHost <\/strong>today!<\/p>\n\n\n\n<p>KnownHost offers 365 days a year, 24 hours a day, all 7 days of the week best in class technical support. A dedicated team is ready to help you should you need our assistance. You\u2019re not using KnownHost for the best web hosting experience? Well, why not? Check with&nbsp;<a href=\"https:\/\/www.knownhost.com\/contact\">our Sales team<\/a>&nbsp;to see what can KnownHost do for you in improving your web hosting experience.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As time goes by, new PHP versions are being introduced, and old ones reach their EOL (End Of Life). Hence, sometimes the default PHP version of the web server might not work as expected for your script, or you want to update the PHP version for the specific hosted Domain. In that case, you might [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[330,109,198,376,375],"class_list":["post-2665","post","type-post","status-publish","format-standard","hentry","category-cpanel","tag-change","tag-cpanel","tag-php","tag-update","tag-version"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to change PHP Version in cPanel? - KnownHost<\/title>\n<meta name=\"description\" content=\"Learn how to change PHP version in cPanel with our step-by-step guide. Changing PHP versions doesn&#039;t have to be intimidating!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to change PHP Version in cPanel? - KnownHost\" \/>\n<meta property=\"og:description\" content=\"Learn how to change PHP version in cPanel with our step-by-step guide. Changing PHP versions doesn&#039;t have to be intimidating!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"KnownHost\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-07T13:45:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-21T13:18:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png\" \/>\n<meta name=\"author\" content=\"Somesh Z\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Somesh Z\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-php-version-in-cpanel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-php-version-in-cpanel\\\/\"},\"author\":{\"name\":\"Somesh Z\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\"},\"headline\":\"How to change PHP Version in cPanel?\",\"datePublished\":\"2021-09-07T13:45:35+00:00\",\"dateModified\":\"2022-01-21T13:18:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-php-version-in-cpanel\\\/\"},\"wordCount\":264,\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-php-version-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Login-to-cpanel-using-user-and-password.png\",\"keywords\":[\"Change\",\"cpanel\",\"php\",\"update\",\"version\"],\"articleSection\":[\"cPanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-php-version-in-cpanel\\\/\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-php-version-in-cpanel\\\/\",\"name\":\"How to change PHP Version in cPanel? - KnownHost\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-php-version-in-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-php-version-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Login-to-cpanel-using-user-and-password.png\",\"datePublished\":\"2021-09-07T13:45:35+00:00\",\"dateModified\":\"2022-01-21T13:18:02+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\"},\"description\":\"Learn how to change PHP version in cPanel with our step-by-step guide. Changing PHP versions doesn't have to be intimidating!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-php-version-in-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-php-version-in-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-php-version-in-cpanel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Login-to-cpanel-using-user-and-password.png\",\"contentUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Login-to-cpanel-using-user-and-password.png\",\"width\":1002,\"height\":829},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-php-version-in-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to change PHP Version in cPanel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\",\"name\":\"KnownHost\",\"description\":\"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\",\"name\":\"Somesh Z\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"caption\":\"Somesh Z\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to change PHP Version in cPanel? - KnownHost","description":"Learn how to change PHP version in cPanel with our step-by-step guide. Changing PHP versions doesn't have to be intimidating!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to change PHP Version in cPanel? - KnownHost","og_description":"Learn how to change PHP version in cPanel with our step-by-step guide. Changing PHP versions doesn't have to be intimidating!","og_url":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/","og_site_name":"KnownHost","article_published_time":"2021-09-07T13:45:35+00:00","article_modified_time":"2022-01-21T13:18:02+00:00","og_image":[{"url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png","type":"","width":"","height":""}],"author":"Somesh Z","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Somesh Z","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/"},"author":{"name":"Somesh Z","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1"},"headline":"How to change PHP Version in cPanel?","datePublished":"2021-09-07T13:45:35+00:00","dateModified":"2022-01-21T13:18:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/"},"wordCount":264,"image":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png","keywords":["Change","cpanel","php","update","version"],"articleSection":["cPanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/","url":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/","name":"How to change PHP Version in cPanel? - KnownHost","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png","datePublished":"2021-09-07T13:45:35+00:00","dateModified":"2022-01-21T13:18:02+00:00","author":{"@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1"},"description":"Learn how to change PHP version in cPanel with our step-by-step guide. Changing PHP versions doesn't have to be intimidating!","breadcrumb":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/#primaryimage","url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png","contentUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png","width":1002,"height":829},{"@type":"BreadcrumbList","@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-php-version-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knownhost.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to change PHP Version in cPanel?"}]},{"@type":"WebSite","@id":"https:\/\/www.knownhost.com\/kb\/#website","url":"https:\/\/www.knownhost.com\/kb\/","name":"KnownHost","description":"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knownhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1","name":"Somesh Z","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","caption":"Somesh Z"}}]}},"_links":{"self":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/2665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/comments?post=2665"}],"version-history":[{"count":0,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/2665\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/media?parent=2665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/categories?post=2665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/tags?post=2665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}