{"id":35688,"date":"2026-10-22T10:27:32","date_gmt":"2026-10-22T10:27:32","guid":{"rendered":"https:\/\/1grid.co.za\/knowledge\/?post_type=ht_kb&#038;p=35688"},"modified":"2026-10-22T10:56:55","modified_gmt":"2026-10-22T10:56:55","slug":"how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security","status":"publish","type":"ht_kb","link":"https:\/\/1grid.co.za\/knowledge\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/","title":{"rendered":"How to Check and Update Your PHP Version with 1-grid for Better Website Security\u00a0"},"content":{"rendered":"\n<h3 id=\"htoc-keep-your-website-secure-compatible-and-running-smoothly-by-checking-your-php-version-and-applying-the-appropriate-security-updates\" class=\"wp-block-heading\">Keep your website secure, compatible and running smoothly by checking your PHP version and applying the appropriate security updates.\u00a0<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">PHP helps power your website behind the scenes. Knowing how to check and update your PHP version with 1-grid for better website security helps protect your website, improve performance, and maintain compatibility with your applications.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Critical PHP security vulnerabilities highlight why regular updates matter. We recommend using <strong>PHP 8.3 or higher<\/strong>, where compatible, as PHP 8.2 reaches end of life on 31 December 2026.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This guide explains what to check, how to prepare your website for an update, and where to find help if you need it.<\/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\/2026\/10\/1-grid-Images-for-KB-Articles-1000-x-600-px-5.png\" alt=\"\" class=\"wp-image-35719\"\/><\/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\"><strong>Table of Contents<\/strong><\/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-begin1\">Before You Begin&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-follow-these-steps1\">Follow These Steps&nbsp;<\/a><ul class=\"ht_toc_child_list\"><li class=\"\"><a href=\"#htoc-step-1-check-your-current-php-version\">Step 1: Check Your Current PHP Version&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-step-2-check-your-website-s-compatibility\">Step 2: Check Your Website&#8217;s Compatibility&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-step-3-back-up-your-website\">Step 3: Back Up Your Website\u00a0<\/a><\/li><li class=\"\"><a href=\"#htoc-step-4-update-php-and-test-your-website\">Step 4: Update PHP and Test Your Website&nbsp;<\/a><\/li><\/ul><\/li><li class=\"\"><a href=\"#htoc-what-happens-next1\">What Happens Next?&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-important-things-to-know1\">Important Things to Know&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-common-mistakes-to-avoid1\">Common Mistakes to Avoid&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-if-this-didn-t-work1\">If This Didn&#8217;t Work&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-you-re-ready1\">You&#8217;re Ready!&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-related-articles1\">Related Articles&nbsp;<\/a><\/li><li class=\"\"><a href=\"#htoc-need-help1\">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-begin1\" 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:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-access-to-your-1-grid-hosting-control-panel\">Access to your <strong><a href=\"https:\/\/1-grid.com\/client\/index.php?rp=\/login\" target=\"_blank\" rel=\"noreferrer noopener\">1-grid Customer Zone<\/a> <\/strong>or hosting control panel.\u00a0<\/li>\n\n\n\n<li id=\"htoc-checked-which-php-versions-your-website-themes-and-plugins-support\">Checked which PHP versions your website, themes and plugins support.\u00a0<\/li>\n\n\n\n<li id=\"htoc-a-recent-backup-of-your-website-and-database\">A recent backup of your website and database.\u00a0<\/li>\n\n\n\n<li id=\"htoc-access-to-your-developer-or-technical-team-if-your-website-uses-custom-code-and-was-not-designed-by-1-grid\">Access to your developer or technical team if your website uses custom code and was not designed by 1-grid.\u00a0<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Important:<\/strong> Updating PHP without checking compatibility can affect how your website works. Prepare first, then make the change.\u00a0<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-follow-these-steps1\" class=\"wp-block-heading\"><strong>Follow These Steps<\/strong>&nbsp;<\/h2>\n\n\n\n<h3 id=\"htoc-step-1-check-your-current-php-version\" class=\"wp-block-heading\"><strong>Step 1: Check Your Current PHP Version<\/strong>&nbsp;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Your hosting control panel allows you to view and manage the PHP version assigned to your website.\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\/knowledge\/cpanel-how-do-i-change-my-php-version\/\" target=\"_blank\" rel=\"noopener\">Check Your PHP for cPanel Hosting<\/a><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/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\/knowledge\/how-to-update-php-version-on-plesk-linux\/\" target=\"_blank\" rel=\"noopener\">Check Your PHP for Plesk Hosting<\/a><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Where compatible, we recommend <strong>PHP 8.3 or higher<\/strong>. PHP 8.2 is still within its security-support period but reaches end of life on 31 December 2026. Planning an upgrade now can help you avoid relying on an older version for longer than necessary.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Knowing which PHP version your relevant hosting platform supports will help you make the right decision for your website.<br>\u00a0<br><em><strong>Important: <\/strong>Always ensure that the relevant security fixes have been applied to your PHP version.\u00a0<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"htoc-step-2-check-your-website-s-compatibility\" class=\"wp-block-heading\"><strong>Step 2: Check Your Website&#8217;s Compatibility<\/strong>&nbsp;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before upgrading, confirm that your website can run on the PHP version you intend to use.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>If you use WordPress, check that:\u00a0<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-wordpress-is-up-to-date\">WordPress is up to date.\u00a0<\/li>\n\n\n\n<li id=\"htoc-your-active-theme-and-plugins-support-the-intended-php-version\">Your active theme and plugins support the intended PHP version.\u00a0<\/li>\n\n\n\n<li id=\"htoc-any-custom-code-or-integrations-are-compatible\">Any custom code or integrations are compatible.\u00a0<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em>For further guidance, see <a href=\"https:\/\/1grid.co.za\/knowledge\/how-to-secure-your-wordpress-website\/\" target=\"_blank\" rel=\"noopener\"><strong>How to Secure Your WordPress Website<\/strong><\/a>.\u00a0<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re unsure about compatibility, ask your website developer for assistance before making changes.&nbsp;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"htoc-step-3-back-up-your-website\" class=\"wp-block-heading\"><strong>Step 3: Back Up Your Website\u00a0<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create or confirm a recent backup of your website files and database before upgrading.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A backup gives you a recovery option if something goes wrong during the update. It doesn&#8217;t prevent a security vulnerability from being exploited, so it should always complement\u00a0security updates, and not replace them.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Don&#8217;t have backups but need to have them in the future to protect your website data? <\/em><\/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\/website-security\/website-backups\/\" target=\"_blank\" rel=\"noopener\">Explore Our Website Backup Solution\u00a0<\/a><\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"htoc-step-4-update-php-and-test-your-website\" class=\"wp-block-heading\"><strong>Step 4: Update PHP and Test Your Website<\/strong>&nbsp;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once you&#8217;ve confirmed compatibility and have a backup, follow the appropriate instructions for your hosting control panel to update PHP.\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\/knowledge\/cpanel-how-do-i-change-my-php-version\/\" target=\"_blank\" rel=\"noopener\">Update Your PHP via cPanel<\/a><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/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\/knowledge\/how-to-update-php-version-on-plesk-linux\" target=\"_blank\" rel=\"noopener\">Update Your PHP via Plesk<\/a><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><br><strong>After the change, check that:\u00a0<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-your-website-loads-correctly\">Your website <strong><a href=\"https:\/\/1grid.co.za\/knowledge\/how-to-troubleshoot-a-website-not-loading-issue\/\" target=\"_blank\" rel=\"noreferrer noopener\">loads<\/a> <\/strong>correctly.\u00a0<\/li>\n\n\n\n<li id=\"htoc-forms-logins-and-important-features-work-as-expected\">Forms, logins and important features work as expected.\u00a0<\/li>\n\n\n\n<li id=\"htoc-your-wordpress-themes-and-plugins-continue-to-function\">Your WordPress <a href=\"https:\/\/1grid.co.za\/knowledge\/wordpress-troubleshooting-themes-and-plugins\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>themes<\/strong><\/a> and <a href=\"https:\/\/1grid.co.za\/knowledge\/wordpress-troubleshooting-themes-and-plugins\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>plugins<\/strong><\/a> continue to function.\u00a0<\/li>\n\n\n\n<li id=\"htoc-no-unexpected-errors-appear\">No unexpected <strong><a href=\"https:\/\/1grid.co.za\/knowledge\/?s=wordpress+error&amp;ht-kb-search=1&amp;lang=\" target=\"_blank\" rel=\"noreferrer noopener\">errors<\/a> <\/strong>appear.\u00a0<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If your website stops working or displays errors, contact your developer or 1-grid Support for guidance rather than making further changes you&#8217;re unsure about.&nbsp;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-what-happens-next1\" class=\"wp-block-heading\"><strong>What Happens Next?<\/strong>&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once you&#8217;ve confirmed your website is on a suitable, patched PHP version and that its components work correctly, regularly check and keep your website software updated.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Regular maintenance helps reduce avoidable security risks and keeps your website better prepared for future updates.&nbsp;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-important-things-to-know1\" 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-php-8-3-or-higher-is-our-recommendation-where-compatible-the-best-version-depends-on-your-hosting-environment-and-website-requirements\"><strong>PHP 8.3 or higher is recommended, where compatible.<\/strong> The best version depends on your hosting environment and website requirements.\u00a0<\/li>\n\n\n\n<li id=\"htoc-a-version-number-alone-doesn-t-guarantee-security-the-appropriate-security-updates-must-also-be-applied\"><strong>A version number alone doesn&#8217;t guarantee security.<\/strong> The appropriate security updates must also be applied.\u00a0<\/li>\n\n\n\n<li id=\"htoc-php-updates-and-wordpress-updates-are-different-both-the-hosting-environment-and-your-website-software-need-attention\"><strong>PHP updates and WordPress updates are different.<\/strong> Both the hosting environment and your website software need attention.\u00a0<\/li>\n\n\n\n<li id=\"htoc-backups-support-recovery-not-prevention-they-are-important-but-do-not-replace-security-updates\"><strong>Backups support recovery, not prevention.<\/strong> They are important but do not replace security updates.\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-avoid1\" 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-versions-without-checking-compatibility\">Changing PHP versions without checking compatibility.\u00a0<\/li>\n\n\n\n<li id=\"htoc-forgetting-to-back-up-your-website-before-making-changes\">Forgetting to back up your website before making changes.\u00a0<\/li>\n\n\n\n<li id=\"htoc-assuming-that-updating-wordpress-or-a-plugin-also-updates-php\">Assuming that updating WordPress or a plugin also updates PHP.\u00a0<\/li>\n\n\n\n<li id=\"htoc-ignoring-website-errors-after-an-upgrade\">Ignoring website errors after an upgrade.\u00a0<\/li>\n\n\n\n<li id=\"htoc-assuming-that-a-newer-php-version-alone-confirms-that-all-security-vulnerabilities-have-been-addressed\">Assuming a newer PHP version alone means that all security vulnerabilities have been addressed.\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-work1\" class=\"wp-block-heading\"><strong>If This Didn&#8217;t Work<\/strong>&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If your website stops working after changing PHP versions, or you&#8217;re unsure which version is suitable, gather the following information before contacting Support:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-your-domain-name-and-hosting-package\">Your domain name and hosting package.\u00a0<\/li>\n\n\n\n<li id=\"htoc-your-current-php-version-if-known\">Your current PHP version, if known.\u00a0<\/li>\n\n\n\n<li id=\"htoc-any-error-messages-displayed\">Any error messages displayed.\u00a0<\/li>\n\n\n\n<li id=\"htoc-what-changed-and-when-the-issue-started\">What changed and when the issue started.\u00a0<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This will help us understand your situation and guide you towards the appropriate next step.&nbsp;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-you-re-ready1\" class=\"wp-block-heading\"><strong>You&#8217;re Ready!<\/strong>&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Keeping PHP and your website software up to date is an important part of maintaining a safer, more reliable online presence.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Learn more <\/strong>by visiting our Blog<strong>:<\/strong><\/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\/blog\/php-security-vulnerabilities-south-africa\/\" target=\"_blank\" rel=\"noopener\">Critical PHP Security Vulnerabilities: What South African Website Owners Need to Know\u00a0<\/a><\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-related-articles1\" class=\"wp-block-heading\"><strong>Related Articles<\/strong>&nbsp;<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-what-php-versions-does-cpanel-with-1-grid-support\"><a href=\"https:\/\/1grid.co.za\/knowledge\/what-php-versions-does-cpanel-with-1-grid-support\/\" target=\"_blank\" rel=\"noopener\"><strong>What PHP Versions Does cPanel with 1-grid Support?<\/strong><\/a>\u00a0<\/li>\n\n\n\n<li id=\"htoc-how-to-manage-php-extensions-in-cpanel\"><a href=\"https:\/\/1grid.co.za\/knowledge\/how-to-manage-php-extensions-in-cpanel-with-1-grid\/\" target=\"_blank\" rel=\"noopener\"><strong>How to Manage PHP Extensions in cPanel<\/strong><\/a>\u00a0<\/li>\n\n\n\n<li id=\"htoc-wordpress-security-tips\"><a href=\"https:\/\/1grid.co.za\/knowledge\/wordpress-tips-to-secure-your-website\/\" target=\"_blank\" rel=\"noopener\"><strong>WordPress Security Tips<\/strong><\/a>\u00a0<\/li>\n\n\n\n<li id=\"htoc-learn-how-to-improve-the-security-of-your-wordpress-website\"><a href=\"https:\/\/1grid.co.za\/knowledge\/learn-how-to-improve-the-security-of-your-wordpress-website\/\" target=\"_blank\" rel=\"noopener\"><strong>Learn How to Improve the Security of Your WordPress Website<\/strong><\/a>\u00a0<\/li>\n\n\n\n<li id=\"htoc-learn-how-to-improve-the-security-of-your-joomla-website\"><a href=\"https:\/\/1grid.co.za\/knowledge\/learn-how-to-improve-the-security-of-your-joomla-website\/\" target=\"_blank\" rel=\"noopener\"><strong>Learn How to Improve the Security of Your Joomla Website<\/strong><\/a>\u00a0<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-need-help1\" class=\"wp-block-heading\"><strong>Need Help?<\/strong>&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Still not sure which PHP version your website needs or how to check and update your PHP version safely?\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<p class=\"wp-block-paragraph\">Provide your domain name and hosting package, and let us know what assistance you need. We&#8217;ll help you understand the appropriate next steps to help keep your website and business online.\u00a0<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>Keep your website secure, compatible and running smoothly by checking your PHP version and applying the appropriate security updates.\u00a0 PHP helps power your website behind the scenes. Knowing how to check and update your PHP version with 1-grid for better website security helps protect your website, improve performance, and maintain&#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,24],"ht-kb-tag":[2081,2082,2083,2086,2084,2085,2087],"class_list":["post-35688","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-hosting","ht_kb_category-website","ht_kb_tag-php-8-3","ht_kb_tag-php-security-updates","ht_kb_tag-php-website-security","ht_kb_tag-supported-php-versions","ht_kb_tag-update-php-in-cpanel","ht_kb_tag-update-php-in-plesk","ht_kb_tag-wordpress-php-compatibility"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Check and Update PHP Version | 1-grid Knowledge Base<\/title>\n<meta name=\"description\" content=\"Learn how to check and update your PHP version with 1-grid to improve website security, and how to keep your website software up to date\" \/>\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\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Check and Update PHP Version | 1-grid Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Learn how to check and update your PHP version with 1-grid to improve website security, and how to keep your website software up to date\" \/>\n<meta property=\"og:url\" content=\"https:\/\/1grid.co.za\/knowledge\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/\" \/>\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-22T10:56:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2026\/10\/1-grid-Images-for-KB-Articles-1000-x-600-px-5.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\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/\",\"name\":\"How to Check and Update PHP Version | 1-grid Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\"},\"datePublished\":\"2026-10-22T10:27:32+00:00\",\"dateModified\":\"2026-10-22T10:56:55+00:00\",\"description\":\"Learn how to check and update your PHP version with 1-grid to improve website security, and how to keep your website software up to date\",\"breadcrumb\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/1grid.co.za\/knowledge\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/1grid.co.za\/knowledge\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Check and Update Your PHP Version with 1-grid for Better Website Security\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 Check and Update PHP Version | 1-grid Knowledge Base","description":"Learn how to check and update your PHP version with 1-grid to improve website security, and how to keep your website software up to date","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\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/","og_locale":"en_US","og_type":"article","og_title":"How to Check and Update PHP Version | 1-grid Knowledge Base","og_description":"Learn how to check and update your PHP version with 1-grid to improve website security, and how to keep your website software up to date","og_url":"https:\/\/1grid.co.za\/knowledge\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/","og_site_name":"1-grid Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/1grid.co.za\/","article_modified_time":"2026-10-22T10:56:55+00:00","og_image":[{"url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2026\/10\/1-grid-Images-for-KB-Articles-1000-x-600-px-5.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\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/","url":"https:\/\/1grid.co.za\/knowledge\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/","name":"How to Check and Update PHP Version | 1-grid Knowledge Base","isPartOf":{"@id":"https:\/\/1grid.co.za\/knowledge\/#website"},"datePublished":"2026-10-22T10:27:32+00:00","dateModified":"2026-10-22T10:56:55+00:00","description":"Learn how to check and update your PHP version with 1-grid to improve website security, and how to keep your website software up to date","breadcrumb":{"@id":"https:\/\/1grid.co.za\/knowledge\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/1grid.co.za\/knowledge\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/1grid.co.za\/knowledge\/how-to-check-and-update-your-php-version-with-1-grid-for-better-website-security\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/1grid.co.za\/knowledge\/"},{"@type":"ListItem","position":2,"name":"How to Check and Update Your PHP Version with 1-grid for Better Website Security\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\/35688","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=35688"}],"version-history":[{"count":20,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/35688\/revisions"}],"predecessor-version":[{"id":35722,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/35688\/revisions\/35722"}],"wp:attachment":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/media?parent=35688"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-category?post=35688"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-tag?post=35688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}