If your website or business application runs on PHP, there is one fact worth checking this week: which version it runs on. PHP 7.4, 8.0 and 8.1 have already reached end of life, and PHP 8.2 reaches it on 31 December 2026.
End of life does not mean the application stops working on that date. It means the PHP project stops fixing security problems in that version. This article explains what that means in practice, how to find out where you stand, and what the realistic options are.
Where each PHP version stands
The authoritative source is the PHP project itself. This table is taken from php.net/supported-versions and the end-of-life list, checked on 24 November 2026.
| PHP version | Status | Security fixes until |
|---|---|---|
| 8.6 | Active support | 31 Dec 2030 |
| 8.5 | Active support | 31 Dec 2029 |
| 8.4 | Active support | 31 Dec 2028 |
| 8.3 | Security fixes only | 31 Dec 2027 |
| 8.2 | Security fixes only, ending soon | 31 Dec 2026 |
| 8.1 | End of life | Ended 31 Dec 2025 |
| 8.0 | End of life | Ended 26 Nov 2023 |
| 7.4 and older | End of life | 7.4 ended 28 Nov 2022 |
The pattern is regular. According to php.net, each branch gets two years of active support followed by two years of fixes for critical security issues only. After that it is unsupported. Dates can change if the project changes its policy, so treat the PHP site as the source of truth and check it again before you plan around a date.
What end of life actually means
Three things change when a version is no longer supported.
New security problems stay unfixed. The project publishes patched releases for supported branches only. When two critical flaws were patched in October 2026, the fixes shipped in 8.2.35, 8.3.36, 8.4.27 and 8.5.12. Nothing was released for older branches. An application on an unsupported version cannot receive that kind of fix from the PHP project.
Hosting and tooling move on. Hosting providers eventually withdraw old versions, and current libraries and frameworks stop supporting them. That is how an upgrade you postponed becomes an upgrade you have to do in a hurry, on someone else's schedule.
Your risk is not constant. A site with no logins, no payments and no customer data is in a different position from one that holds personal information. But the exposure sits in the PHP engine and its extensions, not only in your own code, so "we have nothing worth stealing" is a weaker argument than it sounds.
How to check which version you run
You do not need to be a developer to find this out.
- Your hosting control panel. Most panels show the PHP version for each site, often under a heading such as "PHP version" or "Select PHP version".
- Ask your developer or host. It is a one-line answer for them.
- On the server,
php -vprints the version. Be careful withphpinfo()pages: they are useful for developers, but they should never be left reachable by the public.
Two related questions are worth answering at the same time. Which framework or CMS does the application use, and which version of it? And what does the application's dependency list require? An application can be stuck on an old PHP version because one outdated library needs it, and that library is often the real piece of work.
Your options
| Option | When it makes sense | Trade-off |
|---|---|---|
| Upgrade PHP (and what depends on it) | Most applications that otherwise work well | Needs testing, and some code and libraries will need changes |
| Pay for extended support | You need time and cannot upgrade yet | Some vendors sell security patches for old versions. It is a stopgap, costs money and does not fix the underlying age |
| Rebuild or migrate | The old stack, not just the PHP version, is what holds the product back | The largest change and the highest cost. A rebuild should be justified by more than the version number |
| Do nothing | Rarely sensible | Risk grows over time, and the eventual forced upgrade is harder |
For most business applications the first option is the right one. It keeps the logic and data that already work and removes the one condition that creates risk. Our guide to when to modernise a PHP application goes into how to tell an upgrade from a rebuild.
What an upgrade usually involves
The safe way is to treat it as a project, not an afternoon.
- Back everything up and create a separate test copy of the application.
- Read the migration guides on php.net for each version step. They list removed functions, deprecated behaviour and stricter handling that can break old code.
- Update the framework and dependencies to versions that support the target PHP, and replace any that are no longer maintained.
- Fix what breaks and test the main journeys: sign-in, forms, payments, emails and scheduled jobs, not only the home page.
- Switch over once the copy behaves, and keep a way to roll back.
A test copy matters because the live site only moves across when the upgraded version has been checked. That also means an upgrade does not have to take your site offline.
Which version to target
Aim for a version with years of support left, within what your framework and libraries allow. Moving from 7.4 to the oldest supported branch only delays the problem: PHP 8.2 has weeks of security support left. Check the table above and choose among the versions that give you the longest runway your application can reach.
Where we can help
If you are not sure what you run, or you know it is old, we can look at the application and tell you how large the upgrade is likely to be before anything is committed. Our PHP upgrade and application modernisation service covers moving to a supported PHP version, upgrading frameworks, and adding a modern front end without a rewrite. The service page also includes a version table and a CodeIgniter 3 options section.
For what happens after the upgrade, see why ongoing website maintenance matters.
