{"id":298,"date":"2026-10-21T11:00:14","date_gmt":"2026-10-21T11:00:14","guid":{"rendered":"https:\/\/mosravo.com\/publications\/?p=298"},"modified":"2026-10-21T11:00:15","modified_gmt":"2026-10-21T11:00:15","slug":"how-to-check-and-update-your-websites-php-version-safely","status":"publish","type":"post","link":"https:\/\/mosravo.com\/publications\/2026\/10\/21\/how-to-check-and-update-your-websites-php-version-safely\/","title":{"rendered":"How to Check and Update Your Website&#8217;s PHP Version Safely"},"content":{"rendered":"<body><p>Most small business websites run on PHP, the programming language behind WordPress and many other platforms. Yet few owners know which PHP version their site uses, or that old versions stop receiving security fixes. With PHP shipping an urgent security release on 21 October 2026 and PHP 8.2 reaching the end of its security support on 31 December 2026, now is a good time to check. This step-by-step guide is for business owners, office managers and junior web admins using shared hosting with cPanel, or a WordPress site. You do not need to be a developer to follow it.<\/p>\n<h2>Key takeaways<\/h2>\n<ul>\n<li>You can see your PHP version in WordPress under <strong>Tools &gt; Site Health &gt; Info &gt; Server<\/strong>, or in cPanel\u2019s <strong>MultiPHP Manager<\/strong>.<\/li>\n<li>As of October 2026, php.net lists PHP 8.2, 8.3, 8.4 and 8.5 as supported. Anything older gets no security fixes.<\/li>\n<li>Always back up your files and database before changing PHP versions.<\/li>\n<li>Test on a staging copy first if your host provides one, then switch the live site.<\/li>\n<li>If something breaks, switch back temporarily, but only to a version that still receives security updates.<\/li>\n<\/ul>\n<h2>Why your PHP version matters<\/h2>\n<p>Each PHP branch gets a period of active support, followed by a period where it receives only security fixes, and then nothing at all. According to php.net\u2019s supported versions page, as of 21 October 2026:<\/p>\n<ul>\n<li><strong>PHP 8.5<\/strong>: active support until 31 December 2027, security fixes until 31 December 2029.<\/li>\n<li><strong>PHP 8.4<\/strong>: active support until 31 December 2026, security fixes until 31 December 2028.<\/li>\n<li><strong>PHP 8.3<\/strong>: security fixes only, until 31 December 2027.<\/li>\n<li><strong>PHP 8.2<\/strong>: security fixes only, ending 31 December 2026.<\/li>\n<\/ul>\n<p>A site on PHP 7.4, 8.0 or 8.1 will not get patches for newly discovered flaws, including critical ones.<\/p>\n<h2>Before you start: prerequisites<\/h2>\n<ul>\n<li>Your hosting control panel login (often cPanel) or your WordPress administrator login.<\/li>\n<li>A recent, complete backup that includes both the site files and the database.<\/li>\n<li>A list of the plugins and theme your site uses.<\/li>\n<li>About an hour at a quiet time for your business, such as late evening or a weekend morning.<\/li>\n<li>Your host\u2019s support contact, in case your plan does not let you change PHP yourself.<\/li>\n<\/ul>\n<h2>Step-by-step: check your current PHP version<\/h2>\n<h3>Option A: inside WordPress<\/h3>\n<ol>\n<li>Log in to your WordPress dashboard as an administrator.<\/li>\n<li>Go to <strong>Tools &gt; Site Health<\/strong>. On the <strong>Status<\/strong> tab, look for a recommended improvement about PHP; WordPress flags outdated versions here.<\/li>\n<li>Click the <strong>Info<\/strong> tab, then expand the <strong>Server<\/strong> section. The PHP version is listed there.<\/li>\n<li>Write the version down.<\/li>\n<\/ol>\n<h3>Option B: in cPanel<\/h3>\n<ol>\n<li>Log in to cPanel.<\/li>\n<li>In the <strong>Software<\/strong> section, open <strong>MultiPHP Manager<\/strong>. If you cannot see it, your host may have disabled it, so contact support.<\/li>\n<li>Find your domain in the list. The PHP version assigned to it is shown alongside. If it says <strong>inherit<\/strong>, the site uses the server\u2019s default PHP version.<\/li>\n<\/ol>\n<h2>Step-by-step: update PHP safely<\/h2>\n<h3>Step 1: Back up everything<\/h3>\n<p>Copy all of your site files and export your database. A backup is only useful if it includes both. Many hosts offer a one-click backup tool in cPanel, and WordPress users can use a backup plugin such as Duplicator. Download a copy to your computer or cloud storage, not just to the same server.<\/p>\n<h3>Step 2: Check plugin and theme compatibility<\/h3>\n<p>Visit each plugin\u2019s page in the WordPress plugin directory and check the PHP version it supports. Update all plugins, themes and WordPress itself to their latest versions before changing PHP, because updates often add support for newer PHP releases. Plugins that have not been updated in years are a warning sign; plan to replace them.<\/p>\n<h3>Step 3: Test on a staging copy<\/h3>\n<p>If your host offers a staging site, create one so it matches your live site, then change PHP on the staging copy only. If no staging option exists, choose a quiet time and be ready to switch back.<\/p>\n<h3>Step 4: Change the PHP version in cPanel<\/h3>\n<ol>\n<li>Open <strong>MultiPHP Manager<\/strong>.<\/li>\n<li>Tick the checkbox next to the domain you want to change.<\/li>\n<li>Choose the new version from the <strong>PHP Version<\/strong> drop-down menu. Versions your host recommends are labelled <strong>Recommended<\/strong>.<\/li>\n<li>Click <strong>Apply<\/strong>. If PHP-FPM is enabled for the domain, it updates to match automatically.<\/li>\n<\/ol>\n<p>A good target for most sites today is PHP 8.3 or 8.4. If a version is missing from the list, it is not installed on your server or not available on your plan; ask your host.<\/p>\n<h3>Step 5: Test the important things<\/h3>\n<p>Open your site in a private browser window and test what matters to your business: the home page, navigation, contact and enquiry forms, newsletter sign-up, comments, logins and, for online shops, the full checkout process.<\/p>\n<h3>Step 6: Apply to the live site<\/h3>\n<p>Once staging works, make the same change on the live site, then repeat your tests.<\/p>\n<h2>Troubleshooting<\/h2>\n<h3>The site shows a blank page or \u201ccritical error\u201d<\/h3>\n<p>Switch back in MultiPHP Manager to the previous version so customers are not affected, then investigate on staging. Only roll back to a version that still receives security updates.<\/p>\n<h3>Finding which plugin is the problem<\/h3>\n<p>On a staging site, set <strong>WP_DEBUG<\/strong> to <strong>true<\/strong> in the wp-config.php file to display PHP errors and deprecated function warnings. Error messages usually name the plugin or theme folder causing trouble. Update it, replace it with a maintained alternative, or ask its developer for a fix. Turn debugging off again afterwards.<\/p>\n<h3>You cannot change the version yourself<\/h3>\n<p>Some shared hosting plans restrict PHP changes. Open a support ticket and ask the host to move your domain to a supported version, or ask about moving to a plan that allows it.<\/p>\n<h2>Checklist<\/h2>\n<ul>\n<li>Current PHP version noted.<\/li>\n<li>Full backup of files and database saved off the server.<\/li>\n<li>WordPress core, plugins and theme updated.<\/li>\n<li>Plugin compatibility checked; abandoned plugins listed for replacement.<\/li>\n<li>PHP changed on staging and tested.<\/li>\n<li>PHP changed on the live site and key functions tested.<\/li>\n<li>Debug mode switched off.<\/li>\n<li>Calendar reminder set to check PHP and plugin updates every month.<\/li>\n<\/ul>\n<h2>Next steps<\/h2>\n<p>Keeping PHP current is not a one-time task. Ask your host to confirm how quickly they apply PHP security releases, such as the critical update scheduled for 21 October 2026, and add a monthly website health check to your routine. If you rely on an outside developer, ask them to confirm the PHP version in writing and to plan upgrades well before each branch reaches its end of support.<\/p>\n<h3>Sources<\/h3>\n<ul>\n<li><a href=\"https:\/\/docs.cpanel.net\/cpanel\/software\/multiphp-manager-for-cpanel\/\" target=\"_blank\" rel=\"noopener nofollow\">cPanel Docs: MultiPHP Manager for cPanel<\/a><\/li>\n<li><a href=\"https:\/\/www.php.net\/supported-versions.php\" target=\"_blank\" rel=\"noopener nofollow\">PHP: Supported Versions<\/a><\/li>\n<li><a href=\"https:\/\/wpmudev.com\/blog\/update-php-wordpress\/\" target=\"_blank\" rel=\"noopener nofollow\">WPMU DEV: How to Update PHP to the Suggested WordPress Version<\/a><\/li>\n<\/ul>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>A step-by-step guide for small businesses to find their website&#8217;s PHP version in WordPress or cPanel and upgrade to a supported version without breaking the site.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[4],"tags":[141,130,19,142,132],"class_list":["post-298","post","type-post","status-publish","format-standard","hentry","category-software","tag-cpanel","tag-php","tag-small-business","tag-website-maintenance","tag-wordpress"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/mosravo.com\/publications\/wp-json\/wp\/v2\/posts\/298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mosravo.com\/publications\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mosravo.com\/publications\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mosravo.com\/publications\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mosravo.com\/publications\/wp-json\/wp\/v2\/comments?post=298"}],"version-history":[{"count":1,"href":"https:\/\/mosravo.com\/publications\/wp-json\/wp\/v2\/posts\/298\/revisions"}],"predecessor-version":[{"id":299,"href":"https:\/\/mosravo.com\/publications\/wp-json\/wp\/v2\/posts\/298\/revisions\/299"}],"wp:attachment":[{"href":"https:\/\/mosravo.com\/publications\/wp-json\/wp\/v2\/media?parent=298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mosravo.com\/publications\/wp-json\/wp\/v2\/categories?post=298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mosravo.com\/publications\/wp-json\/wp\/v2\/tags?post=298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}