Craft Partner, verified for Craft Commerce
← all insights

Managed Services3 min read

PHP 8.2 end of life: what it means for your website

TL;DR

PHP 8.2 end of life is 31 December 2026. Your site won't stop working that day, but the PHP project stops releasing security updates for 8.2, and agencies like us can't write our own. If your website or app runs on PHP 8.2 or older, plan the upgrade now, starting with a compatibility check.

Your website probably runs on PHP, even if you've never had a reason to think about it. WordPress, Craft CMS and a lot of custom web apps all do.

PHP comes in versions, and each one is supported for a fixed time. For PHP 8.2, that time is nearly up.

What PHP 8.2 end of life actually means

According to the official PHP supported versions page, security support for PHP 8.2 ends on 31 December 2026. Regular bug fixes already stopped at the end of 2024.

Nothing switches off on 1 January. Your site keeps loading and your forms keep sending. What changes is quieter: when a new security flaw is found in PHP 8.2, the PHP project won't release an update for it.

Why the fixes stop with the PHP project

Official security fixes for PHP come from the PHP project. Your developer, your host and your agency install them. We can't write them ourselves.

October showed what that looks like. Two critical flaws, nicknamed PHP2Shell, let attackers run their own code on vulnerable web servers. The PHP team shipped emergency fixes on 21 October 2026, including a release for PHP 8.2.

We got those updates onto every site we host quickly. None went down, and none were hacked. That was possible because there was an official release to install.

For the older versions already past end of life, the picture was different. The PHP team published bare code patches for some of them as an exception, with no regular release. That's not something to plan a business website around. After 31 December, PHP 8.2 joins that group.

What the upgrade involves

Moving to a newer PHP version takes more than changing a setting. Your site's code has to work on it: the theme and plugins, any custom features, and the libraries a custom app depends on. Some of it will be fine. Some of it may need updating first.

So the order matters. Check what you're running, then test the site on the new version in a staging copy. Fix what breaks, and only then move the live site.

Which version to aim for depends on what your code can handle. PHP 8.3 is supported until the end of 2027 and 8.4 until the end of 2028. The newest, 8.5, runs to the end of 2029. If your code is ready for a newer version, it buys you more time before you do this again.

Our verdict: start the check now

Don't leave this for the last week of December. The holidays eat most of the time that's left. And a compatibility check sometimes turns up work that takes longer than the upgrade itself.

The fair counterpoint: nothing breaks on 1 January. A small brochure site with no logins or forms carries less risk than a store or a portal. That's true, but the risk still grows every month you stay on a version nobody updates.

How we're handling it

We're working with all our clients to get their sites and apps updated. Every site's code is different, so each upgrade is planned with the client. It's a piece of work we scope together, not something that happens on its own.

If we look after your site through Platform Care or managed hosting, talk to us about where it stands. If someone else runs it, these are the questions to ask them:

  • Which PHP version is my site on right now?
  • Has everything been tested on a supported version?
  • Who does the upgrade, and when?
  • Is there a staging copy to test it on first?

On a WordPress site, an administrator can answer the first one themselves, under Tools, then Site Health, as WordPress explains.

Keeping PHP current is the same kind of work as keeping the rest of the site current. We wrote about why that steady care matters.

If you're not sure where your site stands, let's chat.

Frequently asked questions

Short answers. Ask us for the long ones.

No. A site on PHP 8.2 keeps running after 31 December 2026. What stops is security support: the PHP project won't release updates for new flaws found in 8.2. The site works the same on 1 January, but the risk grows over time, because new vulnerabilities get no official fix. That's why the upgrade is worth planning before the deadline, not after.

Enough about us.

Tell us what you're working on. A new website, a web app, a stubborn integration, or something that's still half an idea. We'll help you work out the next step.

Let's chat