PHP 8.2 Reaches End of Life on December 31: What WordPress Site Owners Should Do
PHP 8.2 stops getting security fixes on December 31, 2026. How to check your WordPress PHP version, pick 8.3 or 8.4 and upgrade safely before year end.

Update, October 23, 2026: PHP released an urgent security fix on October 21 for every supported version, including 8.2. See how to check whether your site is patched.
PHP 8.2 gets its last security fixes this year. From December 31, 2026 the PHP project stops supporting it, so any vulnerability found in 8.2 after that date won’t be patched. If you run a WordPress or WooCommerce site, there’s a fair chance it’s on 8.2 right now, because it was a sensible default not long ago.
Nothing will break on January 1. Your site will load and orders will keep coming in, which is exactly why the PHP 8.2 end of life for WordPress sites tends to get ignored until a host forces the issue. Here’s what it means for your site, and how to make the switch safely without disrupting the holiday rush.
What “end of life” means for PHP 8.2
PHP is the programming language WordPress is written in. Your host runs a particular version of it, and every version follows the same schedule, published on php.net’s supported versions page: two years of active support, then two years of security fixes only, then end of life.
PHP 8.2 came out in December 2022. Its active support ended on December 31, 2024 and its security support ends on December 31, 2026. After that, php.net’s advice is to upgrade as soon as possible, because anyone still on it may be exposed to security holes nobody is going to fix.
The risk builds quietly. On January 1 nothing has changed, but the first serious 8.2 vulnerability published after that date stays open for good. And hosts don’t keep old PHP versions around forever. When yours retires 8.2, the switch happens on their timetable, and you find out about incompatible plugins when the site throws an error.
Why PHP 8.2 end of life matters for WordPress and WooCommerce
WordPress itself is relaxed about PHP. WordPress 7.x still runs on PHP 7.4 and up. But WordPress.org’s requirements page recommends PHP 8.3 or greater, and it’s blunt that older versions have reached end of life and may expose your site to security vulnerabilities. WooCommerce’s server recommendations for version 10.8 onwards also list PHP 8.3 or greater, tested up to PHP 8.4.
So a store on 8.2 is already below what both projects recommend. That matters more for a shop than a brochure site, because a store holds customer accounts and order history and runs payment plugins that talk to outside services.
There’s a slower problem too. As plugin developers move on, new releases start requiring newer PHP, and a site stuck on old PHP ends up stuck on old plugins. Outdated plugins are one of the first things we look at when we take over a site that’s had security trouble.

How to check your PHP version
In your WordPress admin, go to Tools → Site Health, open the Info tab and expand the Server section. The PHP version is listed there.
You can also check in your hosting control panel. On hosts that use cPanel, the MultiPHP Manager tool shows the PHP version for each domain on your account and lets you change it. Other hosts usually have a page called something like “PHP settings”. If you can’t find it, your host’s support team can tell you in one reply.
Check every site you’re responsible for, staging copies included. It’s common to find the main site upgraded while a forgotten landing page on the same account still runs something older.
Which PHP version to move to
| PHP version | Security fixes until | Our take |
|---|---|---|
| 8.2 | Dec 31, 2026 | Move off it before the end of the year |
| 8.3 | Dec 31, 2027 | The safe default for most sites |
| 8.4 | Dec 31, 2028 | Good once your plugins and theme confirm support |
| 8.5 | Dec 31, 2029 | On a store, wait until your key plugins support it |
For most sites, 8.3 is the low-risk move. It’s what WordPress.org and WooCommerce both point to, and in our experience plugins that run cleanly on 8.2 rarely have trouble with it. The catch is that it only buys you a year.
8.4 saves you a second upgrade in 2027, and WooCommerce lists it as tested. The risk sits with older plugins and custom code, so look through the changelogs of your main plugins and your theme for mention of PHP 8.4 before you pick it. 8.5 was released in November 2025 and WordPress core supports it, but we wouldn’t put a busy store on it until your payment and shipping plugins do.
A safe way to upgrade PHP on a WordPress site
Changing the PHP version is a single dropdown in most hosting panels. The work is making sure nothing breaks. This is the process we follow:
- Back up files and database, stored somewhere other than the server. Know how to restore it.
- Make a staging copy. Many hosts offer one-click staging.
- Update plugins, theme and core on staging. Updates often include PHP compatibility fixes, so test the versions you’ll actually run.
- Switch PHP on staging only.
- Turn on error logging there. Setting
WP_DEBUGandWP_DEBUG_LOGto true inwp-config.phpwrites errors towp-content/debug.log. WordPress’s documentation says these settings aren’t meant for live sites, which is another reason to use staging. - Test the things that make you money: add to cart, checkout with your payment gateway in test mode, coupons, login, forms, order emails and the admin screens your team uses daily.
- Read the log. Fatal errors must be fixed before going live. Deprecation notices are warnings about future PHP versions; they rarely break anything today, but pass them to the developer.
- Switch the live site at a quiet hour, repeat the quick checks and watch the logs for a day or two. WooCommerce stores also have a fatal-errors log under WooCommerce → Status → Logs.
How to roll back
PHP version changes are easy to undo. It’s a server setting, not a change to your files, so switching back in the hosting panel puts the site back the way it was.
That only works cleanly if PHP is the only thing you changed. Update a dozen plugins in the same hour and you won’t know which change caused the problem. Run the plugin updates on live first, let them settle for a day, then change PHP on its own.
Timing it around Black Friday
Black Friday falls on November 27 this year and Cyber Monday on November 30. That leaves two sensible windows:
- Before mid-November, so you get a couple of weeks of normal traffic to catch anything odd.
- The first half of December, after Cyber Monday, when traffic is calmer and you’re still well ahead of the deadline.
Avoid Thanksgiving week, and don’t leave it to the last days of December when support teams everywhere are short-staffed. If you’re working through our Black Friday website checklist, add the PHP version to it now.
What to ask your host
A short support ticket covers most of it:
- Which PHP versions do you offer, and can I set the version per site?
- Will you move sites off 8.2 automatically? If so, when, and will you warn me first?
- Does your staging run on the same server setup as the live site?
- Can I switch the PHP version back myself?
- How often are backups taken, and how long does a restore take?
Clear, specific answers are a good sign. If the replies are vague, or 8.2 is the newest version on offer, look at your hosting more broadly; our post on how fast web hosting can boost SEO and conversions covers what to look for. And if you’d rather not handle the testing yourself, PHP upgrades are routine work in our WordPress care plans.
Common WordPress problems after a PHP 8 upgrade
Most WordPress sites move from PHP 8.2 to 8.3 or 8.4 without any visible change. When something does break, it is usually one of these:
- A blank page or “There has been a critical error on this website.” Usually an old plugin or theme calling a function that newer PHP versions removed. Turn on
WP_DEBUG_LOGon staging, find the plugin or theme named in the log, then update or replace it. - Deprecation notices filling the error log. These are warnings about future PHP versions (dynamic properties, for example, were deprecated in PHP 8.2). They rarely break anything today, but send them to the plugin developer so the next update fixes them.
- A page builder, slider or form plugin that stops saving. Older builders and premium themes bought years ago are the usual cause. Update them to the latest version before you switch PHP.
- WooCommerce checkout or payment errors. Outdated payment gateway plugins are the main risk. Place a test order on staging after the switch.
- Custom code in functions.php. Snippets written for PHP 7 can fail on PHP 8, for example code that passes empty (null) values to text functions. Have a developer review custom code before the upgrade.
Check these on a staging copy first and the live switch is usually a two-minute change in your hosting panel. If your site is slow as well as outdated, our speed and Core Web Vitals service can be done in the same maintenance window.
FAQ
Need Help With Your Website?
Book a free 20-minute call. We’ll review your site and tell you honestly what to fix first.
Free 20-minute call
Talk to a Founder About Your Store or Site
No sales pitch. You leave with a short list of what to fix first, even if you never hire us.
