Samuel Arendt

PHP 8.2 support ends December 31. Is the upgrade in your contract?

PHP 8.2 stops receiving security fixes on December 31, 2026. This means that, from January on, if a flaw is discovered in that version, the PHP project will no longer fix it.

If your company's website, store, or internal system runs on PHP 8.2, someone needs to do this upgrade before that date. The problem is that, in many cases, nobody was assigned to it: the site was hired as a project with a beginning and an end, and maintenance was left out.

The dates for each version

Each PHP version receives fixes for four years: two years of full support and two more years of security fixes only. The dates are published on the PHP website well in advance:

Version

Security fixes until

8.2

Dec 31, 2026

8.3

Dec 31, 2027

8.4

Dec 31, 2028

8.5

Dec 31, 2029

8.6

Dec 31, 2030

That is why the version upgrade should not come as a surprise. It is a predictable cost, similar to renewing the domain or the hosting plan.

What happens if the site stays on 8.2

The site does not go offline on January 1. It keeps working normally, and that is why many companies postpone the upgrade.

The risk appears when a new flaw is discovered. Between July and November 2026 alone, PHP 8.2 received five security updates. One of them, on October 21, fixed two critical flaws that allowed an attacker to run code on the server without a password. After December 31, a flaw like that will be fixed in the newer versions, but not in 8.2.

Some hosting companies keep patching older versions on their own. If that is your case, it is worth asking for that confirmation in writing.

How the upgrade is done

Before changing the version on the server, the site has to be tested on the new version. WordPress, for example, is already compatible with PHP 8.4 and 8.5, according to the project's own table. But a site is almost never just WordPress: it has a theme, plugins, and often custom code, and each of those parts has to be tested. The same applies to custom systems built on Laravel or another framework.

When the theme and plugins are up to date, this upgrade usually goes smoothly. When the site has gone years without maintenance, it may be necessary to replace abandoned plugins and rebuild some parts.

Another important point: in some cases, upgrading alone does not solve the problem. The site may have been broken into without anyone noticing, and the version upgrade does not remove what the attacker left in the code. In those cases, the upgrade has to come with a review of the code and the hosting account.

Today, the recommended targets are 8.4 and 8.5. Version 8.6 was released on November 19, is still very recent, and does not appear in the WordPress compatibility table. The details are in the post about the PHP 8.6 release and the 8.2 deadline.

Why this should be in the maintenance contract

The best approach is to make version upgrades part of a monthly maintenance contract. That way, someone is tracking the dates, and the upgrade is done at each new version, while the work is still small.

When there is no such contract, the upgrade ends up being quoted in a hurry, after the hosting company sends a notice or after something stops working. On top of that, the company that built the site may no longer be available, and another vendor will need time to understand a site it did not build.

If your company already has a maintenance contract, it is worth checking whether it really covers this work. Some contracts only mention support hours or "updates" without specifying which ones. Ideally, the contract should state:

  • which versions of PHP and of the CMS are in use;
  • who is responsible for tracking the end-of-support dates;
  • whether the version upgrade is included in the monthly fee or will be billed separately.

Whoever upgrades to PHP 8.4 now will have security fixes until December 31, 2028. On version 8.5, until December 31, 2029.

If your company is weighing something similar or needs support on this topic, reach me on LinkedIn or WhatsApp.

References

A glass hourglass with dark blue sand falling, on a reflective surface, against a blurred lilac background.

Photo by Roy Muz on Unsplash

#Operations, #Strategy