PHP 8.2 Ends on 31 December: How to Check Your WordPress Site's PHP Version and Upgrade Safely

Lines of PHP and JavaScript code on a dark computer screen

Every WordPress website runs on PHP, the programming language that builds each page on the server before it reaches your visitor's browser. Like WordPress itself, PHP comes in versions, and each version is only looked after for a set time. For PHP 8.2, that time is nearly up.

According to php.net's supported versions page, security support for PHP 8.2 ends on 31 December 2026. On 19 November 2026 the PHP project shipped security releases for every supported branch, including 8.2.36, alongside the brand-new PHP 8.6.0. And some hosts won't wait for the deadline: WP Cloud, the platform behind several large WordPress hosts, removes PHP 8.2 on 15 December 2026.

None of this needs to be stressful. Here's what end of life means, how to find out which PHP version your site is on, and a safe order of steps for moving to a newer one.

Key takeaways

  • PHP 8.2 gets no more security fixes after 31 December 2026.
  • Whatever version you're on, you should already have the 19 November security release (8.2.36, 8.3.37, 8.4.28 or 8.5.13, or your host's equivalent).
  • You can find your PHP version in WordPress under Tools > Site Health > Info > Server.
  • Aim for PHP 8.3 or 8.4. Leave the brand-new 8.6 until WordPress and your plugins officially support it.
  • Back up, test on a staging copy, check plugins and theme, switch, then check again.
  • 31 DecPHP 8.2 security support ends
  • 15 DecWP Cloud removes PHP 8.2
  • 17flaws fixed on 19 November
  • 7of them rated critical

What PHP end of life means for your website

Each PHP version goes through two stages of support. For the first two years it gets active support, with bug fixes and security fixes. After that it gets security fixes only, for another two years. WP Cloud describes it as two years of support from the first stable release, "plus an additional two years for critical security fixes only".

End of life is the point where even the security fixes stop. When the PHP 8.2.35 release came out in October, the PHP project put it plainly: "PHP 8.2 reaches end of life on 31 December 2026 and will receive no further security fixes after that date."

An open desk diary with a pen resting across the pages
PHP versions have published end dates, so an upgrade can be planned rather than rushed.

Your site won't stop working on 1 January

Nothing switches off at midnight. A site on PHP 8.2 will carry on loading on 1 January 2027. What changes is that any security flaw found in PHP 8.2 after that date won't be fixed by the PHP project. Over the months that follow, the risk builds up quietly.

The other change is out of your hands: hosts retire old versions on their own timetable. That's where most site owners get caught out, and we cover it below.

Where each PHP version stands

PHP versionReleasedSecurity fixes until
8.28 December 202231 December 2026
8.323 November 202331 December 2027
8.421 November 202431 December 2028
8.520 November 202531 December 2029
8.619 November 202631 December 2030

Source: php.net supported versions, read 23 November 2026. PHP 8.1 and older are already past end of life.

The 19 November security release you should have now

Before you think about upgrading, make sure the PHP you're on today is patched. On 19 November 2026 the PHP project released 8.5.13, 8.4.28, 8.3.37 and 8.2.36. Each announcement says the same thing: "This is a security release", and all users of that branch "are encouraged to upgrade".

Hostney's breakdown of the release counts 17 fixes, seven of them rated critical. Not every version needs every fix, because some of the bugs are in code that only exists in newer versions:

If you're onYou need at leastFixes it contains
PHP 8.58.5.13All 17
PHP 8.48.4.2814
PHP 8.38.3.3713
PHP 8.28.2.3612
PHP 8.1 or olderNo official releaseUpgrade to a supported version

How worried should you be

Calm, but not complacent. The PHP project's advance notice said the critical issues "require either non-default configuration or uncommon setups", so most ordinary WordPress sites weren't exposed to the worst of them. Several of the other fixes are more everyday, though. One, according to Hostney, meant that web addresses written with a capital S (HTTPS://) could be fetched without encryption, which matters because plugins often fetch addresses that way.

A WordPress update won't fix this. These flaws are in PHP itself, which sits underneath WordPress. Updating WordPress, a theme or a security plugin doesn't touch them. Only your host (or whoever manages your server) can install the fixed PHP and restart it.

Many hosts use PHP packages from Linux distributions such as Ubuntu, Debian or Red Hat. Those vendors often copy the fixes into their existing builds without changing the main version number. So if your site reports an older-looking number, it isn't necessarily unpatched. Ask your host whether the 19 November fixes are installed and PHP has been restarted since. We explained the same pattern in more depth in our PHP2Shell advisory last month.

How to check your site's PHP version in Site Health

WordPress shows the PHP version in its built-in Site Health tool. You'll need to be logged in as an Administrator.

  1. In your WordPress dashboard, go to Tools > Site Health.
  2. Open the Info tab.
  3. Expand the Server section. The PHP version is listed there.
  4. Note it down, along with the date you checked.

While you're there, look at the Status tab too. If WordPress thinks your PHP is too old, it shows a critical issue headed "Your site is running an outdated version of PHP, which requires an update". The Info tab also has a button that copies all of this information to your clipboard, which is handy if you want to send it to your developer or host.

Reading the number

The first two parts of the number are the branch: 8.2.36 is PHP 8.2. If it starts with 8.2, it's time to plan your move. If it starts with 8.1, 8.0 or 7, your site is already on a version with no official security fixes, and the move is overdue.

Why your host may switch you before the deadline

Many website owners never choose their PHP version. The host sets it, and it stays put until the host changes it. As versions reach end of life, hosts retire them, and they often do it before the official date.

A dimly lit corridor between two rows of server cabinets
Your PHP version is set on your host's servers, and hosts retire old versions on their own schedule.

The WP Cloud example

WP Cloud, which several big WordPress hosts build on, announced in May that "PHP 8.2 will be removed from WP Cloud on December 15, 2026 at 12:00 UTC". Its platform schedule is direct about what happens to sites left behind: they "may be force-upgraded by WP Cloud to the platform's current default PHP release without the possibility of a rollback". It adds that the removal date "is a hard cutoff, and grace periods are not available". The current default on that schedule is PHP 8.4.

The risk isn't the upgrade. It's the untested upgrade. If your host moves you to a newer PHP on its own date, any plugin or theme that can't cope will break on the live site, possibly with no way back to the old version. Testing it yourself first, on your own timetable, avoids that.

Other hosts have their own dates and policies. If you're not sure, ask your host three questions: when they're retiring PHP 8.2, what happens to sites still on it, and whether you can switch back if something goes wrong.

Which PHP version to move to

It's tempting to jump straight to the newest version. For a business website, that's rarely the right call.

PHP 8.3 or 8.4: the sensible choice

WordPress's own requirements page recommends "PHP version 8.3 or greater". Both 8.3 and 8.4 have been out for a year or more, so popular plugins and themes have had time to catch up with them. PHP 8.4 gets security fixes until 31 December 2028, and 8.3 until 31 December 2027.

If your plugins and theme all support it, PHP 8.4 gives you the longer runway. PHP 8.5 is also listed as compatible with current WordPress, and is a reasonable choice if every plugin you rely on supports it too.

Why not PHP 8.6 yet

PHP 8.6.0 came out on 19 November 2026, the same day as the security releases. The WordPress PHP compatibility table currently lists versions up to 8.5. WordPress usually adds support for a new PHP version in the WordPress release that comes out around the same time each year, and plugin and theme developers then need time of their own to test.

Moving a live business site to a PHP version days after release means being the first to find any problems. There's no security reason to rush: 8.3 and 8.4 are fully supported. Revisit 8.6 next year, once WordPress and your key plugins say they're ready.

A safe upgrade sequence

Changing PHP version is usually quick: on most hosts it's a setting in the control panel. The preparation is what makes it safe. This is the order we'd follow.

A clipboard with a blank to-do list next to a pen and an open laptop on a marble desk
A PHP upgrade is mostly preparation. The switch itself takes moments.

1. Take a full backup

Back up both the files and the database, and keep the copy somewhere other than the server itself. Make sure you know how to restore it, or who will. Our guide to guaranteed website backups explains what a dependable backup looks like.

2. Update WordPress, plugins and theme first

Newer PHP versions most often break older code. Bringing WordPress, every plugin and your theme up to date before the switch removes a lot of that risk. Our WordPress update guide covers how to do this carefully.

3. Check plugin and theme compatibility

Look at each plugin's page in the WordPress plugin directory, or the developer's own site, for the PHP versions it supports. Pay most attention to anything that hasn't been updated in a year or more, premium plugins whose licence has lapsed, and custom code written for your site. If a plugin is abandoned, now is the time to replace it. We've written about the wider risks of outdated themes and plugins.

4. Test on a staging copy

A staging site is a private copy of your website where you can make changes without affecting visitors. Many hosts create one with a single click. Switch the staging copy to the new PHP version and work through it properly.

What to test on staging

  • The homepage and your most visited pages
  • Every contact and enquiry form, including that the email arrives
  • Checkout and payment, if you sell online
  • Logging in, and the WordPress admin screens you use
  • Page builder editing, if your site uses one
  • Booking, membership or other plugin-driven features
  • Site Health's Status tab, for any new warnings

5. Switch the live site

Once staging looks right, change the PHP version on the live site. Do it at a quiet time of day, when you or someone you trust can check it straight afterwards. Clear any caching so you're seeing the site as it really is.

6. Check again

Run through the same tests on the live site. Confirm in Tools > Site Health > Info > Server that the new version is showing. Then keep an eye on things for a few days: error emails from WordPress, forms that go quiet, or orders that don't come through are all worth investigating straight away.

If something breaks

If your host lets you, switch back to the previous PHP version while you find the cause. That's only a short-term fix if the old version is 8.2, and on platforms like WP Cloud it won't be possible after the removal date. The usual culprit is one plugin or a piece of custom code, and updating or replacing it is the lasting fix.

Frequently asked questions

Do I have to upgrade before 31 December?

Your site won't stop working on that date, but it will stop getting PHP security fixes. If your host retires 8.2 earlier, as WP Cloud does on 15 December, the decision may be made for you. Planning the move now means it happens on your terms.

Will upgrading PHP make my site faster?

It can. The WordPress Site Health documentation notes that newer PHP versions "are created with increased performance in mind". How much difference you'll see depends on your site.

My host says it's handling this. Do I need to do anything?

Ask when they'll switch you and to which version, then test your site on that version before the date if you can. A host can change the PHP version, but it can't know whether your particular plugins will cope.

Can I change PHP version myself?

On most hosts, yes, through the hosting control panel. On some managed platforms it's done by the host's support team. Either way, follow the sequence above rather than just flicking the switch.

Let us handle it

PHP upgrades come round every year, and each one follows the same pattern: back up, update, test, switch, check. If you'd rather not have to think about it, keeping PHP current and testing your site against it is part of what our WordPress maintenance service covers, and you'll deal with a real person throughout.

Sources and further reading

Stop worrying about your website.
Let Pressific handle it properly.

View Plans

Starting at less than a 鈽曪笍 per day!