{"id":24150,"date":"2026-10-23T17:00:23","date_gmt":"2026-10-23T17:00:23","guid":{"rendered":"https:\/\/1-grid.com\/knowledge\/cpanel-how-do-i-change-my-php-version\/"},"modified":"2026-10-23T17:00:25","modified_gmt":"2026-10-23T17:00:25","slug":"cpanel-how-do-i-change-my-php-version","status":"publish","type":"ht_kb","link":"https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/","title":{"rendered":"How to Change Your PHP Version in cPanel with 1-grid\u00a0"},"content":{"rendered":"\n<h3 id=\"htoc-take-control-of-your-website-s-php-settings-directly-from-cpanel\" class=\"wp-block-heading\">Take control of your website\u2019s PHP settings directly from cPanel.\u00a0<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Your website relies on PHP to run many of its features and applications. Knowing how to change your PHP version in cPanel helps you or your web developer make these changes quickly, especially when your website requires a different PHP version.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This guide walks you through where to find the PHP settings in cPanel, how to select an available version, and what to check once the change has been applied,\u00a0whether you&#8217;re managing your own website or maintaining a site for a client.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"600\" src=\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2022\/02\/1-grid-Images-for-KB-Articles-1000-x-600-px-8.png\" alt=\"\" class=\"wp-image-35730\"\/><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-ht-block-toc is-style-contrasted htoc htoc--position-wide toc-list-style-plain\" data-htoc-state=\"expanded\"><span class=\"htoc__title\"><span class=\"ht_toc_title\">Table of Contents<\/span><span class=\"htoc__toggle\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\"><g fill=\"#444\"><path d=\"M15 7H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><path d=\"M15 1H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1zM15 13H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><\/g><\/svg><\/span><\/span><div class=\"htoc__itemswrap\"><ul class=\"ht_toc_list\"><li class=\"\"><a href=\"#htoc-before-you-begin\">Before You Begin&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-follow-these-steps\">Follow These Steps&nbsp;<\/a><ul class=\"ht_toc_child_list\"><li class=\"\"><a href=\"#htoc-step-1-log-in-to-cpanel\">Step 1: Log in to cPanel\u00a0<\/a><\/li><li class=\"\"><a href=\"#htoc-step-2-open-select-php-version\">Step 2: Open Select PHP Version\u00a0<\/a><\/li><li class=\"\"><a href=\"#htoc-step-3-choose-your-php-version\">Step 3: Choose Your PHP Version\u00a0<\/a><\/li><li class=\"\"><a href=\"#htoc-step-4-apply-your-changes\">Step 4: Apply Your Changes\u00a0<\/a><\/li><li class=\"\"><a href=\"#htoc-step-5-test-your-website\">Step 5: Test Your Website\u00a0<\/a><\/li><\/ul><\/li><li class=\"\"><a href=\"#htoc-what-happens-next\">What Happens Next?&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-important-things-to-know\">Important Things to Know&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-common-mistakes-to-avoid\">Common Mistakes to Avoid&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-if-this-didn-t-work\">If This Didn&#8217;t Work&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-you-re-ready\">You&#8217;re Ready!&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-related-articles\">Related Articles&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-need-help\">Need Help?&nbsp;<\/a><\/li><\/ul><\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-before-you-begin\" class=\"wp-block-heading\"><strong>Before You Begin<\/strong>&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before changing your PHP version, make sure you have the following ready:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-cpanel-access-you-can-log-in-to-your-1-grid-customer-zone-and-access-cpanel-or-direct-cpanel-login-access\"><strong>cPanel access:<\/strong> You can log in to your <a href=\"https:\/\/1-grid.com\/client\/clientarea.php\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>1-grid Customer Zone<\/strong><\/a> and access cPanel or use direct cPanel login access.\u00a0<\/li>\n\n\n\n<li id=\"htoc-a-recent-backup-back-up-your-website-before-making-changes-so-you-can-restore-it-if-something-goes-wrong\"><strong>A recent backup:<\/strong> <a href=\"https:\/\/1grid.co.za\/knowledge\/how-to-backup-your-website-in-cpanel\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Back up your website<\/strong><\/a> before making changes so you can restore it if something goes wrong.\u00a0<\/li>\n\n\n\n<li id=\"htoc-compatibility-confirmation-check-that-your-website-cms-themes-and-plugins-support-the-php-version-you-want-to-use-if-you-use-wordpress-consult-your-theme-and-plugin-providers-or-web-developer-if-you-re-unsure\"><strong>Compatibility confirmation:<\/strong> Check that your website, CMS, themes and plugins support the PHP version you want to use. If you use WordPress, consult your theme and plugin providers or web developer if you&#8217;re unsure.\u00a0<\/li>\n\n\n\n<li id=\"htoc-a-suitable-php-version-where-compatible-we-recommend-php-8-3-or-higher-for-a-longer-period-of-support-make-sure-the-version-is-available-for-your-hosting-package-and-has-the-relevant-security-updates-applied\"><strong>A suitable PHP version:<\/strong> Where compatible, we recommend PHP 8.3 or higher for a longer period of support. Make sure the version is available for your hosting package and has the relevant security updates applied.\u00a0<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-follow-these-steps\" class=\"wp-block-heading\"><strong>Follow These Steps<\/strong>&nbsp;<\/h2>\n\n\n\n<h3 id=\"htoc-step-1-log-in-to-cpanel\" class=\"wp-block-heading\">Step 1: Log in to cPanel\u00a0<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Log in to your <a href=\"https:\/\/1-grid.com\/client\/clientarea.php\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>1-grid Customer Zone<\/strong><\/a> and open cPanel.\u00a0<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33092595781\/original\/clggMLCUSVYYYMSyIbo_7xc04IrhUoYIXA.png?1678165611\" alt=\"\" style=\"aspect-ratio:0.6444444444444445;width:232px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">If you need help, see our guide: <a href=\"https:\/\/1-grid.com\/knowledge\/how-to-log-in-to-cpanel-via-your-1-grid-customer-zone\/\" target=\"_blank\" rel=\"noopener\"><strong>How to Log in to cPanel via Your 1-grid Customer Zone<\/strong><\/a>.\u00a0<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"htoc-step-2-open-select-php-version\" class=\"wp-block-heading\">Step 2: Open Select PHP Version\u00a0<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In cPanel, find the <strong>Software<\/strong> section and click <strong>Select PHP Version<\/strong>.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33039159104\/original\/DQFgx6HPjwmjlCnDROcSwzZUrXlrSbPWxw.png?1586160938\" alt=\"\" style=\"aspect-ratio:4.576321986726611;width:558px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"htoc-step-3-choose-your-php-version\" class=\"wp-block-heading\">Step 3: Choose Your PHP Version\u00a0<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Click the dropdown arrow next to <strong>PHP Version<\/strong> and select the version you want to use.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before continuing, confirm that your website and its applications are compatible with your selection.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"764\" height=\"766\" src=\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2022\/02\/Screenshot-2026-10-23-151454.png\" alt=\"\" class=\"wp-image-35728\" style=\"aspect-ratio:0.9974103539182978;width:424px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"htoc-step-4-apply-your-changes\" class=\"wp-block-heading\">Step 4: Apply Your Changes\u00a0<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Click <strong>Apply<\/strong> to save your selection.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on your hosting configuration, the change may take effect immediately and may affect multiple websites hosted under the same cPanel account.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"762\" height=\"209\" src=\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2022\/02\/Screenshot-2026-10-23-150658.png\" alt=\"\" class=\"wp-image-35729\" style=\"aspect-ratio:3.646226012793177;width:570px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"htoc-step-5-test-your-website\" class=\"wp-block-heading\">Step 5: Test Your Website\u00a0<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once the change has been applied, open your website and check that it works as expected.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you use WordPress or another CMS, test important functions such as logging in, submitting forms, using plugins, and completing purchases where applicable.&nbsp;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-what-happens-next\" class=\"wp-block-heading\"><strong>What Happens Next?<\/strong>&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Your hosting account will use the selected PHP version according to your hosting configuration.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>After changing PHP, we recommend that you:\u00a0<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-check-that-your-website-loads-correctly\">Check that your website loads correctly.\u00a0<\/li>\n\n\n\n<li id=\"htoc-test-important-website-features-and-functionality\">Test important website features and functionality.\u00a0<\/li>\n\n\n\n<li id=\"htoc-look-for-errors-or-compatibility-issues\">Look for errors or compatibility issues.\u00a0<\/li>\n\n\n\n<li id=\"htoc-keep-your-cms-themes-and-plugins-updated-with-their-latest-compatible-releases\">Keep your CMS, themes, and plugins updated with their latest compatible releases.\u00a0<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em>If something stops working, contact your web developer or our Support Team for assistance.\u00a0<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-important-things-to-know\" class=\"wp-block-heading\"><strong>Important Things to Know<\/strong>&nbsp;<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-compatibility-matters-a-newer-php-version-is-not-automatically-compatible-with-every-website-check-your-website-s-requirements-before-upgrading\"><strong>Compatibility matters:<\/strong> A newer PHP version is not automatically compatible with every website. Check your website&#8217;s requirements before upgrading.\u00a0<\/li>\n\n\n\n<li id=\"htoc-security-updates-still-matter-choosing-a-php-version-alone-does-not-guarantee-security-ensure-that-the-relevant-security-patches-are-applied\"><strong>Security updates still matter:<\/strong> Choosing a PHP version alone does not guarantee security. Ensure that the relevant security patches are applied.\u00a0<\/li>\n\n\n\n<li id=\"htoc-changes-may-affect-multiple-websites-depending-on-your-hosting-configuration-changing-php-may-affect-more-than-one-website-under-the-same-cpanel-account-confirm-the-scope-before-applying-the-change\"><strong>Changes may affect multiple websites:<\/strong> Depending on your hosting configuration, changing PHP may affect more than one website under the same cPanel account. Confirm the scope before applying the change.\u00a0<\/li>\n\n\n\n<li id=\"htoc-php-and-wordpress-updates-are-different-changing-php-does-not-update-wordpress-itself-its-themes-or-its-plugins\"><strong>PHP and WordPress updates are different:<\/strong> Changing PHP does not update WordPress itself, its themes or its plugins.\u00a0<\/li>\n\n\n\n<li id=\"htoc-backups-help-you-recover-always-keep-a-recent-backup-before-making-changes\"><strong>Backups help you recover:<\/strong> Always keep a recent backup before making changes.\u00a0<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-common-mistakes-to-avoid\" class=\"wp-block-heading\"><strong>Common Mistakes to Avoid<\/strong>&nbsp;<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-changing-php-without-checking-compatibility-this-may-cause-errors-or-prevent-parts-of-your-website-from-working\"><strong>Changing PHP without checking compatibility:<\/strong> This may cause errors or prevent parts of your website from working.\u00a0<\/li>\n\n\n\n<li id=\"htoc-skipping-a-backup-make-sure-you-have-a-recent-backup-before-applying-changes\"><strong>Skipping a backup:<\/strong> Make sure you have a recent backup before applying changes.\u00a0<\/li>\n\n\n\n<li id=\"htoc-forgetting-to-test-your-website-always-check-your-website-and-its-key-functions-after-the-update\"><strong>Forgetting to test your website:<\/strong> Always check your website and its key functions after the update.\u00a0<\/li>\n\n\n\n<li id=\"htoc-assuming-a-version-change-fixes-every-security-issue-keep-your-website-software-updated-and-confirm-that-the-relevant-php-security-patches-are-in-place\"><strong>Assuming a version change fixes every security issue:<\/strong> Keep your website software updated and confirm that the relevant PHP security patches are in place.\u00a0<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-if-this-didn-t-work\" class=\"wp-block-heading\"><strong>If This Didn&#8217;t Work<\/strong>&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you cannot change your PHP version or your website experiences problems afterwards, try the following:&nbsp;<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li id=\"htoc-check-the-selected-version-confirm-that-the-version-you-selected-is-available-and-supported-by-your-hosting-package\"><strong>Check the selected version:<\/strong> Confirm that the version you selected is available and supported by your hosting package.\u00a0<\/li>\n\n\n\n<li id=\"htoc-review-website-compatibility-check-for-outdated-themes-plugins-or-applications-that-may-not-support-the-selected-version\"><strong>Review website compatibility:<\/strong> Check for outdated themes, plugins or applications that may not support the selected version.\u00a0<\/li>\n\n\n\n<li id=\"htoc-restore-or-seek-help-if-your-website-stops-working-contact-your-web-developer-to-investigate-compatibility-if-necessary-contact-1-grid-support-for-help-with-your-hosting-configuration\"><strong>Restore or seek help:<\/strong> If your website stops working, contact your web developer to investigate compatibility. If necessary, contact 1-grid Support for help with your hosting configuration.\u00a0<\/li>\n\n\n\n<li id=\"htoc-contact-support-if-select-php-version-is-unavailable-or-you-cannot-apply-the-change-contact-our-support-team-and-include-your-domain-name-hosting-package-and-a-description-of-the-issue\"><strong>Contact Support:<\/strong> If <strong>Select PHP Version<\/strong> is unavailable or you cannot apply the change, contact our Support Team and include your domain name, hosting package and a description of the issue.\u00a0<\/li>\n<\/ol>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\"><\/ol>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\"><\/ol>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\"><\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-you-re-ready\" class=\"wp-block-heading\"><strong>You&#8217;re Ready!<\/strong>&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You&#8217;ve learned how to change your PHP version in cPanel. Remember to check compatibility, keep your website backed up and test everything after making changes.&nbsp;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-related-articles\" class=\"wp-block-heading\"><strong>Related Articles<\/strong>&nbsp;<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-how-to-log-in-to-cpanel-via-your-1-grid-customer-zone\"><strong><a href=\"https:\/\/1-grid.com\/knowledge\/how-to-log-in-to-cpanel-via-your-1-grid-customer-zone\/\" target=\"_blank\" rel=\"noopener\">How to Log in to cPanel via Your 1-grid Customer Zone<\/a>\u00a0<\/strong><\/li>\n\n\n\n<li id=\"htoc-how-to-update-php-resource-limits-in-cpanel\"><strong><a href=\"https:\/\/1-grid.com\/knowledge\/cpanel-how-to-update-php-resource-limits\/\" target=\"_blank\" rel=\"noopener\">How to Update PHP Resource Limits in cPanel<\/a>\u00a0<\/strong><\/li>\n\n\n\n<li id=\"htoc-how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\"><strong><a href=\"https:\/\/1grid.co.za\/knowledge\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/\" target=\"_blank\" rel=\"noopener\">How to Check and Update Your PHP Version with 1-grid for Better Website Security<\/a>\u00a0<\/strong><\/li>\n\n\n\n<li id=\"htoc-wordpress-tips-to-secure-your-website\"><strong><a href=\"https:\/\/1grid.co.za\/knowledge\/wordpress-tips-to-secure-your-website\/\" target=\"_blank\" rel=\"noopener\">WordPress Tips to Secure Your Website<\/a>\u00a0<\/strong><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-need-help\" class=\"wp-block-heading\"><strong>Need Help?<\/strong>&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Still\u00a0unsure which PHP version is right for your website or need further guidance on\u00a0changing it in cPanel?\u00a0<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/1grid.co.za\/contact-us\/\" target=\"_blank\" rel=\"noopener\">Contact 1-grid Support<\/a><\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>Take control of your website\u2019s PHP settings directly from cPanel.\u00a0 Your website relies on PHP to run many of its features and applications. Knowing how to change your PHP version in cPanel helps you or your web developer make these changes quickly, especially when your website requires a different PHP&#8230;<\/p>\n","protected":false},"author":21,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[1174],"ht-kb-tag":[238,738,2089,2088,1817,1667,1150],"class_list":["post-24150","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-hosting","ht_kb_tag-cpanel","ht_kb_tag-php","ht_kb_tag-php-updates","ht_kb_tag-php-version","ht_kb_tag-website-maintenance","ht_kb_tag-website-security","ht_kb_tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Change PHP Versions in cPanel | 1-grid Knowledge Base<\/title>\n<meta name=\"description\" content=\"Learn how to change your PHP version in cPanel with 1-grid. Check compatibility, apply your changes safely and test your website afterwards.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/\" \/>\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 Versions in cPanel | 1-grid Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Learn how to change your PHP version in cPanel with 1-grid. Check compatibility, apply your changes safely and test your website afterwards.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/\" \/>\n<meta property=\"og:site_name\" content=\"1-grid Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/1grid.co.za\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-23T17:00:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2022\/02\/1-grid-Images-for-KB-Articles-1000-x-600-px-8.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@1grid_hosting\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/\",\"name\":\"How to Change PHP Versions in cPanel | 1-grid Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\"},\"datePublished\":\"2026-10-23T17:00:23+00:00\",\"dateModified\":\"2026-10-23T17:00:25+00:00\",\"description\":\"Learn how to change your PHP version in cPanel with 1-grid. Check compatibility, apply your changes safely and test your website afterwards.\",\"breadcrumb\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/1grid.co.za\/knowledge\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change Your PHP Version in cPanel with 1-grid\u00a0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"contentUrl\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"width\":100,\"height\":100,\"caption\":\"1-Grid Domain Hosting Knowledge Base\"},\"image\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/1grid.co.za\/\",\"https:\/\/twitter.com\/1grid_hosting\",\"https:\/\/www.instagram.com\/1grid_hosting\/\",\"https:\/\/za.linkedin.com\/company\/1-grid\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Change PHP Versions in cPanel | 1-grid Knowledge Base","description":"Learn how to change your PHP version in cPanel with 1-grid. Check compatibility, apply your changes safely and test your website afterwards.","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:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/","og_locale":"en_US","og_type":"article","og_title":"How to Change PHP Versions in cPanel | 1-grid Knowledge Base","og_description":"Learn how to change your PHP version in cPanel with 1-grid. Check compatibility, apply your changes safely and test your website afterwards.","og_url":"https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/","og_site_name":"1-grid Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/1grid.co.za\/","article_modified_time":"2026-10-23T17:00:25+00:00","og_image":[{"url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2022\/02\/1-grid-Images-for-KB-Articles-1000-x-600-px-8.png"}],"twitter_card":"summary_large_image","twitter_site":"@1grid_hosting","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/","url":"https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/","name":"How to Change PHP Versions in cPanel | 1-grid Knowledge Base","isPartOf":{"@id":"https:\/\/1grid.co.za\/knowledge\/#website"},"datePublished":"2026-10-23T17:00:23+00:00","dateModified":"2026-10-23T17:00:25+00:00","description":"Learn how to change your PHP version in cPanel with 1-grid. Check compatibility, apply your changes safely and test your website afterwards.","breadcrumb":{"@id":"https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/1grid.co.za\/knowledge\/cpanel-how-do-i-change-my-php-version\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/1grid.co.za\/knowledge\/"},{"@type":"ListItem","position":2,"name":"How to Change Your PHP Version in cPanel with 1-grid\u00a0"}]},{"@type":"WebSite","@id":"https:\/\/1grid.co.za\/knowledge\/#website","url":"https:\/\/1grid.co.za\/knowledge\/","name":"1-Grid Domain Hosting Knowledge Base","description":"","publisher":{"@id":"https:\/\/1grid.co.za\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/1grid.co.za\/knowledge\/#organization","name":"1-Grid Domain Hosting Knowledge Base","url":"https:\/\/1grid.co.za\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","contentUrl":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","width":100,"height":100,"caption":"1-Grid Domain Hosting Knowledge Base"},"image":{"@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/1grid.co.za\/","https:\/\/twitter.com\/1grid_hosting","https:\/\/www.instagram.com\/1grid_hosting\/","https:\/\/za.linkedin.com\/company\/1-grid"]}]}},"_links":{"self":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/comments?post=24150"}],"version-history":[{"count":4,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24150\/revisions"}],"predecessor-version":[{"id":35734,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24150\/revisions\/35734"}],"wp:attachment":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/media?parent=24150"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-category?post=24150"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-tag?post=24150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}