{"id":272,"date":"2024-09-27T14:30:45","date_gmt":"2024-09-27T14:30:45","guid":{"rendered":"https:\/\/revision.codesupply.co\/revision\/?p=272"},"modified":"2025-05-18T22:34:48","modified_gmt":"2025-05-18T22:34:48","slug":"step-by-step-guide-to-change-the-php-version-in-cpanel","status":"publish","type":"post","link":"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/","title":{"rendered":"step-by-step guide to change the PHP version in cPanel"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Running your website on the correct PHP version is essential for performance, security, and compatibility with modern applications like WordPress, Joomla, or Laravel. Fortunately, if your hosting provider uses <strong>cPanel<\/strong>, updating your PHP version is a straightforward process.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this guide, we\u2019ll walk you through <strong>how to change the PHP version in cPanel<\/strong>, step by step, with helpful tips along the way.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Change Your PHP Version?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before we dive in, here\u2019s why you might want to change your PHP version:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To meet the requirements of a new CMS or plugin<\/li>\n\n\n\n<li>To improve site speed and performance<\/li>\n\n\n\n<li>To enhance security (older versions may be vulnerable)<\/li>\n\n\n\n<li>To test your site on a newer or legacy version<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step-by-Step Guide: Changing PHP Version in cPanel<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Log in to cPanel<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"438\" src=\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/cpanel-interface-1024x438.png\" alt=\"\" class=\"wp-image-1135\" srcset=\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/cpanel-interface-1024x438.png 1024w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/cpanel-interface-300x128.png 300w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/cpanel-interface-768x328.png 768w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/cpanel-interface-1536x657.png 1536w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/cpanel-interface-400x171.png 400w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/cpanel-interface-800x342.png 800w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/cpanel-interface-832x356.png 832w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/cpanel-interface-1664x712.png 1664w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/cpanel-interface-1248x534.png 1248w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/cpanel-interface.png 1915w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Open your web browser and go to your <strong>cPanel login URL<\/strong> (usually something like <code>yourdomain.com\/cpanel<\/code>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enter your <strong>username and password<\/strong>. and login<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"446\" src=\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/multiphp-1024x446.png\" alt=\"\" class=\"wp-image-1102\" srcset=\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/multiphp-1024x446.png 1024w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/multiphp-300x131.png 300w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/multiphp-768x334.png 768w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/multiphp-1536x669.png 1536w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/multiphp-400x174.png 400w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/multiphp-800x348.png 800w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/multiphp-832x362.png 832w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/multiphp-1664x724.png 1664w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/multiphp-1248x543.png 1248w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/multiphp.png 1918w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Locate the &#8220;Select PHP Version&#8221; or &#8220;MultiPHP Manager&#8221;<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on your hosting provider, you&#8217;ll find one of the following options in the <strong>Software<\/strong> section:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Select PHP Version<\/strong> (used by CloudLinux-based hosts)<\/li>\n\n\n\n<li><strong>MultiPHP Manager<\/strong> (used by cPanel servers with EasyApache 4)<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"has-text-align-left wp-block-paragraph\" style=\"border-style:none;border-width:0px;font-size:15px\"> Tip: If you see both, use MultiPHP Manager for domain-specific changes.<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"446\" src=\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-php-version-1024x446.png\" alt=\"\" class=\"wp-image-1101\" srcset=\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-php-version-1024x446.png 1024w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-php-version-300x131.png 300w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-php-version-768x334.png 768w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-php-version-1536x669.png 1536w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-php-version-400x174.png 400w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-php-version-800x348.png 800w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-php-version-832x362.png 832w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-php-version-1664x724.png 1664w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-php-version-1248x543.png 1248w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-php-version.png 1918w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3a: Using \u201cSelect PHP Version\u201d (CloudLinux)<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on <strong>Select PHP Version<\/strong>.<\/li>\n\n\n\n<li>In the dropdown menu at the top, choose the <strong>desired PHP version<\/strong> (e.g., PHP 8.2).<\/li>\n\n\n\n<li>Click <strong>Set as current<\/strong>.<\/li>\n\n\n\n<li>You can also enable\/disable specific PHP extensions below if needed.<\/li>\n\n\n\n<li>Click <strong>Save<\/strong> or <strong>Apply<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"442\" src=\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-version-1024x442.png\" alt=\"\" class=\"wp-image-1146\" srcset=\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-version-1024x442.png 1024w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-version-300x129.png 300w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-version-768x331.png 768w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-version-1536x662.png 1536w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-version-400x172.png 400w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-version-800x345.png 800w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-version-832x359.png 832w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-version-1664x717.png 1664w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-version-1248x538.png 1248w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-version.png 1918w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3b: Using \u201cMultiPHP Manager\u201d<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on <strong>MultiPHP Manager<\/strong>.<\/li>\n\n\n\n<li>Scroll down to the <strong>list of domains<\/strong> on your hosting account.<\/li>\n\n\n\n<li>Check the box next to the domain(s) you want to update.<\/li>\n\n\n\n<li>From the <strong>PHP Version dropdown<\/strong> on the right, choose the version you want (e.g., PHP 8.1).<\/li>\n\n\n\n<li>Click <strong>Apply<\/strong>.<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">   Note: MultiPHP Manager allows you to set <strong>different PHP versions for each domain or subdomain<\/strong><\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"450\" src=\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-verion-1024x450.png\" alt=\"\" class=\"wp-image-1148\" srcset=\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-verion-1024x450.png 1024w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-verion-300x132.png 300w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-verion-768x337.png 768w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-verion-1536x674.png 1536w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-verion-400x176.png 400w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-verion-800x351.png 800w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-verion-832x365.png 832w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-verion-1664x730.png 1664w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-verion-1248x548.png 1248w, https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/select-verion.png 1918w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 4: Verify Your PHP Version<br>To confirm that your changes worked:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create a file called phpinfo.php in your public_html directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add this code:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#fff;font-style:italic;color:#24292e\"><span style=\"border-bottom:1px solid rgba(16, 41, 67, 0.2)\">PHP<\/span><\/span><span role=\"button\" tabindex=\"0\" data-code=\"&lt;?php phpinfo(); ?&gt;\n\" style=\"color:#24292e;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-light\" style=\"background-color: #fff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D73A49\">&lt;?<\/span><span style=\"color: #005CC5\">php<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #005CC5\">phpinfo<\/span><span style=\"color: #24292E\">(); <\/span><span style=\"color: #D73A49\">?&gt;<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Save and upload the file.<\/li>\n\n\n\n<li>Visit <code>yourdomain.com\/phpinfo.php<\/code> in your browser.<\/li>\n\n\n\n<li>Look at the <strong>top of the page<\/strong> for the active PHP version.<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\ud83d\udd10 Don\u2019t forget to delete this file afterward for security reasons.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\"> What If You Don\u2019t See the Version You Need?<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Some shared hosts limit PHP versions for stability or security reasons.<\/li>\n\n\n\n<li>You may need to <strong>request an upgrade<\/strong> from your host or move to a VPS for full control.<\/li>\n\n\n\n<li>Make sure your website or CMS is <strong>compatible<\/strong> with the new version to avoid breaking functionality.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"> Final Thoughts<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Changing your PHP version in cPanel is a simple yet powerful way to keep your website optimized, secure, and compatible with the latest web technologies. Whether you&#8217;re upgrading to a new PHP version or testing legacy compatibility, cPanel gives you the tools to do it with just a few clicks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Always back up your website before making major changes, and double-check compatibility with your CMS, themes, and plugins.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"If your website requires a specific PHP version to function properly or you&#8217;re upgrading for performance or security\u2014changing the PHP version in cPanel is a straightforward process. Here\u2019s a simple guide anyone can follow:","protected":false},"author":1,"featured_media":1064,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_singular_sidebar":"","csco_page_header_type":"standard","csco_page_load_nextpost":"","footnotes":""},"categories":[17,7,14],"tags":[],"class_list":["post-272","post","type-post","status-publish","format-standard","has-post-thumbnail","category-seo-tips","category-web-hosting","category-website-development","cs-entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>step-by-step guide to change the PHP version in cPanel - sailexhost.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-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=\"step-by-step guide to change the PHP version in cPanel - sailexhost.com\" \/>\n<meta property=\"og:description\" content=\"If your website requires a specific PHP version to function properly or you&#039;re upgrading for performance or security\u2014changing the PHP version in cPanel is a straightforward process. Here\u2019s a simple guide anyone can follow:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"sailexhost.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/profile.php?id=100086330631833\" \/>\n<meta property=\"article:published_time\" content=\"2024-09-27T14:30:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-18T22:34:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/step-by-step-guide-to-change-the-PHP-version-in-cPanel.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1640\" \/>\n\t<meta property=\"og:image:height\" content=\"924\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Smauel Eric\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@sailexhost\" \/>\n<meta name=\"twitter:site\" content=\"@sailexhost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Smauel Eric\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/\"},\"author\":{\"name\":\"Smauel Eric\",\"@id\":\"https:\/\/sailexhost.com\/blog\/#\/schema\/person\/512a81330709cc9c1c05e516459f48f5\"},\"headline\":\"step-by-step guide to change the PHP version in cPanel\",\"datePublished\":\"2024-09-27T14:30:45+00:00\",\"dateModified\":\"2025-05-18T22:34:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/\"},\"wordCount\":505,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\/\/sailexhost.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/step-by-step-guide-to-change-the-PHP-version-in-cPanel.jpg\",\"articleSection\":[\"SEO Tips\",\"Web Hosting\",\"Website Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/\",\"url\":\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/\",\"name\":\"step-by-step guide to change the PHP version in cPanel - sailexhost.com\",\"isPartOf\":{\"@id\":\"https:\/\/sailexhost.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/step-by-step-guide-to-change-the-PHP-version-in-cPanel.jpg\",\"datePublished\":\"2024-09-27T14:30:45+00:00\",\"dateModified\":\"2025-05-18T22:34:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#primaryimage\",\"url\":\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/step-by-step-guide-to-change-the-PHP-version-in-cPanel.jpg\",\"contentUrl\":\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/step-by-step-guide-to-change-the-PHP-version-in-cPanel.jpg\",\"width\":1640,\"height\":924},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sailexhost.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"step-by-step guide to change the PHP version in cPanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sailexhost.com\/blog\/#website\",\"url\":\"https:\/\/sailexhost.com\/blog\/\",\"name\":\"sailexhost.com\",\"description\":\"Sailexost Official Blog - Hosting Review, Deals, New Update\",\"publisher\":{\"@id\":\"https:\/\/sailexhost.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sailexhost.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/sailexhost.com\/blog\/#organization\",\"name\":\"sailexhost.com\",\"url\":\"https:\/\/sailexhost.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/sailexhost.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2025\/07\/Sailexhost-1.png\",\"contentUrl\":\"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2025\/07\/Sailexhost-1.png\",\"width\":500,\"height\":500,\"caption\":\"sailexhost.com\"},\"image\":{\"@id\":\"https:\/\/sailexhost.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/profile.php?id=100086330631833\",\"https:\/\/x.com\/sailexhost\",\"https:\/\/instagram.com\/@sailexhost\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/sailexhost.com\/blog\/#\/schema\/person\/512a81330709cc9c1c05e516459f48f5\",\"name\":\"Smauel Eric\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/sailexhost.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/aaabb9db0b702789d913ac21ff9e642e2aff7131940a927281e1e80465a703a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/aaabb9db0b702789d913ac21ff9e642e2aff7131940a927281e1e80465a703a6?s=96&d=mm&r=g\",\"caption\":\"Smauel Eric\"},\"sameAs\":[\"https:\/\/sailexhost.com\/blog\"],\"url\":\"https:\/\/sailexhost.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"step-by-step guide to change the PHP version in cPanel - sailexhost.com","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:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"step-by-step guide to change the PHP version in cPanel - sailexhost.com","og_description":"If your website requires a specific PHP version to function properly or you're upgrading for performance or security\u2014changing the PHP version in cPanel is a straightforward process. Here\u2019s a simple guide anyone can follow:","og_url":"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/","og_site_name":"sailexhost.com","article_publisher":"https:\/\/www.facebook.com\/profile.php?id=100086330631833","article_published_time":"2024-09-27T14:30:45+00:00","article_modified_time":"2025-05-18T22:34:48+00:00","og_image":[{"width":1640,"height":924,"url":"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/step-by-step-guide-to-change-the-PHP-version-in-cPanel.jpg","type":"image\/jpeg"}],"author":"Smauel Eric","twitter_card":"summary_large_image","twitter_creator":"@sailexhost","twitter_site":"@sailexhost","twitter_misc":{"Written by":"Smauel Eric","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#article","isPartOf":{"@id":"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/"},"author":{"name":"Smauel Eric","@id":"https:\/\/sailexhost.com\/blog\/#\/schema\/person\/512a81330709cc9c1c05e516459f48f5"},"headline":"step-by-step guide to change the PHP version in cPanel","datePublished":"2024-09-27T14:30:45+00:00","dateModified":"2025-05-18T22:34:48+00:00","mainEntityOfPage":{"@id":"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/"},"wordCount":505,"commentCount":3,"publisher":{"@id":"https:\/\/sailexhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/step-by-step-guide-to-change-the-PHP-version-in-cPanel.jpg","articleSection":["SEO Tips","Web Hosting","Website Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/","url":"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/","name":"step-by-step guide to change the PHP version in cPanel - sailexhost.com","isPartOf":{"@id":"https:\/\/sailexhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/step-by-step-guide-to-change-the-PHP-version-in-cPanel.jpg","datePublished":"2024-09-27T14:30:45+00:00","dateModified":"2025-05-18T22:34:48+00:00","breadcrumb":{"@id":"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#primaryimage","url":"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/step-by-step-guide-to-change-the-PHP-version-in-cPanel.jpg","contentUrl":"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2024\/09\/step-by-step-guide-to-change-the-PHP-version-in-cPanel.jpg","width":1640,"height":924},{"@type":"BreadcrumbList","@id":"https:\/\/sailexhost.com\/blog\/step-by-step-guide-to-change-the-php-version-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sailexhost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"step-by-step guide to change the PHP version in cPanel"}]},{"@type":"WebSite","@id":"https:\/\/sailexhost.com\/blog\/#website","url":"https:\/\/sailexhost.com\/blog\/","name":"sailexhost.com","description":"Sailexost Official Blog - Hosting Review, Deals, New Update","publisher":{"@id":"https:\/\/sailexhost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sailexhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/sailexhost.com\/blog\/#organization","name":"sailexhost.com","url":"https:\/\/sailexhost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sailexhost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2025\/07\/Sailexhost-1.png","contentUrl":"https:\/\/sailexhost.com\/blog\/wp-content\/uploads\/2025\/07\/Sailexhost-1.png","width":500,"height":500,"caption":"sailexhost.com"},"image":{"@id":"https:\/\/sailexhost.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/profile.php?id=100086330631833","https:\/\/x.com\/sailexhost","https:\/\/instagram.com\/@sailexhost"]},{"@type":"Person","@id":"https:\/\/sailexhost.com\/blog\/#\/schema\/person\/512a81330709cc9c1c05e516459f48f5","name":"Smauel Eric","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sailexhost.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/aaabb9db0b702789d913ac21ff9e642e2aff7131940a927281e1e80465a703a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aaabb9db0b702789d913ac21ff9e642e2aff7131940a927281e1e80465a703a6?s=96&d=mm&r=g","caption":"Smauel Eric"},"sameAs":["https:\/\/sailexhost.com\/blog"],"url":"https:\/\/sailexhost.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/sailexhost.com\/blog\/wp-json\/wp\/v2\/posts\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sailexhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sailexhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sailexhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sailexhost.com\/blog\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":20,"href":"https:\/\/sailexhost.com\/blog\/wp-json\/wp\/v2\/posts\/272\/revisions"}],"predecessor-version":[{"id":1155,"href":"https:\/\/sailexhost.com\/blog\/wp-json\/wp\/v2\/posts\/272\/revisions\/1155"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sailexhost.com\/blog\/wp-json\/wp\/v2\/media\/1064"}],"wp:attachment":[{"href":"https:\/\/sailexhost.com\/blog\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sailexhost.com\/blog\/wp-json\/wp\/v2\/categories?post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sailexhost.com\/blog\/wp-json\/wp\/v2\/tags?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}