{"id":22445,"date":"2026-11-25T19:43:33","date_gmt":"2026-11-25T16:43:33","guid":{"rendered":"https:\/\/www.hyyat.com\/php-8-2-end-of-life\/"},"modified":"2026-11-25T19:43:33","modified_gmt":"2026-11-25T16:43:33","slug":"php-8-2-end-of-life","status":"publish","type":"post","link":"https:\/\/www.hyyat.com\/en\/php-8-2-end-of-life\/","title":{"rendered":"PHP 8.2 Security Support Ends in December 2026: Is Your Site Affected, and What Should You Do?"},"content":{"rendered":"<div class=\"hy-art\">\n<div class=\"hy-tldr\" style=\"background:#f6f7fb;border-left:4px solid #d83954;border-radius:10px;padding:14px 18px;margin:0 0 20px;line-height:1.9\"><strong>In short:<\/strong> The last security fix for <strong>PHP 8.2<\/strong> ships by <strong>31 December 2026<\/strong>; after that, any new vulnerability in it stays unpatched. If your site runs on it, move to <strong>8.3<\/strong> or <strong>8.4<\/strong> before that date, and test on a copy first. Switching in cPanel takes a minute; testing is what takes time.<\/div>\n<p>Each PHP release, the language behind WordPress and most stores and scripts, lives about four years: two years of full support, then two years of security fixes only. PHP 8.2 came out in December 2022, its full support ended at the end of 2024, and its security updates end on <strong>31 December 2026<\/strong>.<\/p>\n<p>Your site will not stop on 1 January. It will keep working. But any vulnerability found in PHP 8.2 after that date will get no official fix, and attackers know it.<\/p>\n<div class=\"hkb-note\"><b>On Hyyat Host WordPress hosting?<\/b> You can change your PHP version from your panel at any time, and if you need help testing, open a ticket. For new WordPress sites: <a href=\"https:\/\/www.hyyat.com\/en\/wordpress-hosting\/\">WordPress hosting<\/a>.<\/div>\n<h2>Current PHP support schedule<\/h2>\n<p>These are the support dates published on the official PHP site. A version in \u201cfull support\u201d gets bug and security fixes; one in \u201csecurity only\u201d gets vulnerability fixes alone.<\/p>\n<div style=\"overflow-x:auto\">\n<table style=\"width:100%;border-collapse:collapse;margin:0 0 16px\">\n<tbody>\n<tr style=\"background:#f6f7fb\">\n<th style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Version<\/th>\n<th style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Full support ends<\/th>\n<th style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Security updates end<\/th>\n<th style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Status<\/th>\n<\/tr>\n<tr>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">8.2<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">31 December 2024<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">31 December 2026<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Ending soon<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">8.3<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">31 December 2025<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">31 December 2027<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Security only<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">8.4<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">31 December 2026<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">31 December 2028<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Supported<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">8.5<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">31 December 2027<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">31 December 2029<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Supported<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Bottom line: if you are moving now, jumping to 8.4 buys you two more years before you repeat this, as long as your theme and plugins support it.<\/p>\n<h2>How do you find your site\u2019s PHP version?<\/h2>\n<p>Three ways, from easiest to most precise:<\/p>\n<ol>\n<li><strong>In WordPress:<\/strong> Tools \u2192 Site Health \u2192 Info \u2192 Server. Look for \u201cPHP version\u201d.<\/li>\n<li><strong>In cPanel:<\/strong> MultiPHP Manager or Select PHP Version shows the version per domain. Screenshots in our <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/how-to-change-php-version\/\">guide to changing the PHP version in cPanel<\/a>.<\/li>\n<li><strong>From outside:<\/strong> some servers reveal the version in the X-Powered-By header. Check it with the <a href=\"https:\/\/www.hyyat.com\/en\/redirect-checker\/\">redirect and header checker<\/a>; if it shows, better hide it.<\/li>\n<\/ol>\n<h2>Before you switch: a five-step plan<\/h2>\n<ol>\n<li><strong>A full backup<\/strong> of files and database. Do not rely on \u201cthe host has one\u201d; take it yourself before any change.<\/li>\n<li><strong>Update everything else first:<\/strong> WordPress, the theme and every plugin. Most upgrade problems come from an old plugin, not PHP itself.<\/li>\n<li><strong>Find abandoned plugins:<\/strong> a plugin not updated in two years may not run on 8.3 or 8.4. The <a href=\"https:\/\/www.hyyat.com\/en\/wordpress-site-checker\/\">WordPress security scan<\/a> lists outdated and removed plugins.<\/li>\n<li><strong>Test on a copy:<\/strong> a subdomain like staging.example.com with a copy of the site, or switch during quiet hours and watch.<\/li>\n<li><strong>Switch and watch the error log<\/strong> for a day. Open the key pages: home, cart, checkout and contact form.<\/li>\n<\/ol>\n<h2>What might break, and what to do<\/h2>\n<div style=\"overflow-x:auto\">\n<table style=\"width:100%;border-collapse:collapse;margin:0 0 16px\">\n<tbody>\n<tr style=\"background:#f6f7fb\">\n<th style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Symptom<\/th>\n<th style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Usual cause<\/th>\n<th style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Fix<\/th>\n<\/tr>\n<tr>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">White screen or error 500<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">A plugin or theme calls a function removed from PHP<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">The error log names the file<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\"> disable or update that plugin<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Deprecated warnings at the top<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Old code that still runs but will break in a future version<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Hide errors from visitors and contact the plugin author<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">One page fails<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">A plugin specific to that page<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Disable plugins one by one on the staging copy<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">An encoded script will not open<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Old ionCube files that do not support the new version<\/td>\n<td style=\"padding:8px;border:1px solid #e5e7eb;vertical-align:top\">Ask the script vendor for a build for the new version<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>If an error screen appears, switch back to the previous version from the same tool; it takes seconds. Then diagnose calmly with the <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/fix-500-internal-server-error-wordpress\/\">error 500 guide<\/a>.<\/p>\n<h2>What about custom scripts and Laravel?<\/h2>\n<p>If your site is built on a framework like Laravel or a custom script, it is a bit different from WordPress:<\/p>\n<ul>\n<li><strong>Open composer.json<\/strong> and find the php line to see which versions the project supports.<\/li>\n<li><strong>Update packages<\/strong> on a staging copy first with composer update, and run tests if you have them.<\/li>\n<li><strong>ionCube-encoded scripts<\/strong> need a build from the vendor that supports the new version, so ask for it before switching.<\/li>\n<li><strong>Scheduled tasks (cron)<\/strong> may run a different PHP version from the site. Check the php path in their commands.<\/li>\n<\/ul>\n<p>If the project is so old it supports no current version, this is a good time to price an update before it becomes a security problem.<\/p>\n<h2>And if you stay on 8.2?<\/h2>\n<p>Nothing happens on day one. But the problem grows in three ways:<\/p>\n<ul>\n<li><strong>Security:<\/strong> any new hole in PHP 8.2 stays open on every site that did not move.<\/li>\n<li><strong>Plugins:<\/strong> WordPress and plugin developers raise their minimum PHP version over time, so updates stop reaching your site.<\/li>\n<li><strong>Speed:<\/strong> each new PHP release is faster than the last on most sites, so you leave free performance on the table.<\/li>\n<\/ul>\n<p>In other words, staying on an unsupported version is not a saving; it is postponing a bigger problem.<\/p>\n<div class=\"hy-bridge\" style=\"background:#f6f7fb;border-left:4px solid #d83954;border-radius:10px;padding:14px 18px;margin:24px 0;line-height:1.9\"><strong>Rather not track these dates yourself?<\/strong> On <a href=\"https:\/\/www.hyyat.com\/en\/wordpress-hosting\/\">Hyyat Host WordPress hosting<\/a> you choose your PHP version from your panel, we move your site from any other cPanel host for free, and our team answers in Arabic or English if something breaks after an update.<\/div>\n<p class=\"hy-related\" style=\"background:#f6f7fb;border-left:4px solid #1dca94;border-radius:10px;padding:14px 18px;margin:20px 0;line-height:1.9\"><strong>Read also:<\/strong> <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/how-to-change-php-version\/\">Changing the PHP version in cPanel<\/a> \u00b7 <a href=\"https:\/\/www.hyyat.com\/en\/wordpress-site-checker\/\">Free WordPress security scan<\/a><\/p>\n<h2>Frequently asked questions<\/h2>\n<h3>When does PHP 8.2 support end?<\/h3>\n<p>Security updates for PHP 8.2 end on 31 December 2026; its full support ended on 31 December 2024.<\/p>\n<h3>Will my site stop working after that?<\/h3>\n<p>No, it keeps running, but any vulnerability found in this version afterwards will get no official fix.<\/p>\n<h3>Should I move to 8.3 or 8.4?<\/h3>\n<p>8.4 gets security support until the end of 2028 and 8.3 until the end of 2027. Choose 8.4 if your theme and plugins support it, otherwise 8.3.<\/p>\n<h3>What if the site breaks after switching?<\/h3>\n<p>Switch back in the same cPanel tool, then check the error log to find the plugin or file at fault, and update or disable it before trying again.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>PHP 8.2 stops receiving security fixes on 31 December 2026. Find out whether your WordPress site or store is affected and how to move to 8.3 or 8.4 safely, step by step.<\/p>\n","protected":false},"author":4,"featured_media":22446,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":"","_wpscp_schedule_draft_date":"","_wpscp_schedule_republish_date":"","_wpscppro_advance_schedule":false,"_wpscppro_advance_schedule_date":"","_wpscppro_dont_share_socialmedia":false,"_wpscppro_custom_social_share_image":0,"_facebook_share_type":"","_twitter_share_type":"","_linkedin_share_type":"","_pinterest_share_type":"","_linkedin_share_type_page":"","_instagram_share_type":"","_medium_share_type":"","_threads_share_type":"","_bluesky_share_type":"","_mastodon_share_type":"","_selected_social_profile":[],"_wpsp_enable_custom_social_template":false,"_wpsp_social_scheduling":{"enabled":false,"datetime":null,"platforms":[],"status":"template_only","dateOption":"","timeOption":"","customDays":"","customHours":"","customDate":"","customTime":"","schedulingType":""},"_wpsp_active_default_template":true},"categories":[2881],"tags":[],"class_list":["post-22445","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/posts\/22445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=22445"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/posts\/22445\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media\/22446"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=22445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/categories?post=22445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/tags?post=22445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}