PHP 8.2 stops receiving security fixes on 31 December 2026, according to php.net. If your website or web system runs on 8.2 or anything older, you have five safe choices: a straight PHP upgrade, an upgrade with code fixes, a move to hosting that keeps old PHP running safely, a rebuild, or retiring the site. Nothing breaks on the day, so you have time to choose properly.
The warning usually arrives as an email from your host, a notice in the WordPress dashboard or a plugin that refuses to update. It reads like an emergency. Mostly it is a planning job, and the dijihost guide to what a “PHP version no longer supported” email means is a calm place to start. This post is for owners of WordPress, WooCommerce, OpenCart, Magento and bespoke PHP sites that nobody has touched for years.

The PHP upgrade deadline: which versions are still supported
PHP is the programming language behind WordPress, WooCommerce, OpenCart, Magento and most bespoke business systems. The PHP project supports each version for a fixed period: two years of active support, then two years of critical security fixes only. After that the version is end of life and gets nothing.
The dates below come from the official php.net supported versions page and its list of end of life branches. We checked both on 20 November 2026.
| PHP version | Active support until | Security fixes until | Status on 30 November 2026 |
|---|---|---|---|
| 8.6 | 31 Dec 2028 | 31 Dec 2030 | Active support, released 19 Nov 2026 |
| 8.5 | 31 Dec 2027 | 31 Dec 2029 | Active support |
| 8.4 | 31 Dec 2026 | 31 Dec 2028 | Active support, security fixes only from January |
| 8.3 | 31 Dec 2025 | 31 Dec 2027 | Security fixes only |
| 8.2 | 31 Dec 2024 | 31 Dec 2026 | Security fixes only, ending 31 December |
| 8.1 | Ended | 31 Dec 2025 | End of life |
| 8.0 | Ended | 26 Nov 2023 | End of life |
| 7.4 | Ended | 28 Nov 2022 | End of life |
| 7.0 to 7.3 | Ended | 10 Jan 2019 to 6 Dec 2021 | End of life |
| 5.6 | Ended | 31 Dec 2018 | End of life |
PHP 8.2 is the version with the deadline. PHP 8.6 only came out on 19 November 2026, so plugins and extensions need time to catch up with it. For most business sites we would aim a PHP upgrade at 8.3, 8.4 or 8.5, whichever your software fully supports.
If you run WordPress, WordPress’s own requirements page recommends PHP 8.3 or greater. It notes that WordPress still works on PHP 7.4 and up, but that those older versions are end of life and may expose your site to security vulnerabilities.
How to find out which PHP version you are on
This takes five minutes.
- WordPress: go to Tools, then Site Health, open the Info tab and expand Server.
- cPanel: look for “Select PHP Version” or “MultiPHP Manager”.
- Plesk: open the domain’s PHP Settings.
- Anything else: ask your host by email, so the answer is in writing.
- Check every site you own. Domains on one hosting account can run different versions.
Note the platform and its version, the plugins or extensions in use, and anything encoded with ionCube. That list tells you whether your PHP upgrade is a quick switch or a planned project.
One nuance changes the urgency. Some hosts run PHP packaged by an enterprise Linux vendor, which can backport security fixes into an old version number. That covers PHP itself, not the plugins and libraries on top. Ask your host, in writing, which situation you are in.
What “end of life” really means for a business
Your site will not stop working on 1 January. End of life means the PHP project stops publishing fixes for that version, so the risk builds up as new flaws are found and never patched. What breaks a site is usually a forced PHP upgrade by the host, not the support date. The dijitul support PHP end of life guide covers the basics. There are four practical consequences.
Security
October 2026 showed what the line means. On 21 October the PHP project released fixes for two critical flaws, nicknamed PHP2Shell, that can let an attacker run code on a server without logging in. Fixed releases came out for PHP 8.2 to 8.5. The php.net advisory said PHP 8.1 and older no longer receive updates from the PHP project. More security releases followed on 19 November. From January, PHP 8.2 sits on the wrong side of that line.
Insurance and Cyber Essentials
We are not insurers, and policies differ. Check your cyber policy for anything you declared about keeping software supported and patched, then ask your broker in writing where end of life PHP leaves you. Cyber Essentials is clearer. The NCSC’s requirements document (version 3.3, April 2026) says software in scope must be licensed and supported, and removed or cut off from the internet once it is unsupported. Whether your web server is in scope depends on your certification boundary, so ask your assessor.
Card payments and PCI DSS
If your site takes card payments, the card industry’s PCI DSS standard applies in some form. The PCI Security Standards Council’s own FAQ says Requirement 6.3.3 expects patches for critical vulnerabilities to be installed within one month of release. On end of life PHP, sooner or later there is no patch to install. Ask your payment provider how much of the standard applies to you. An old cart that takes card details on its own pages is the one case where we push hard for a PHP upgrade.
Plugin and platform compatibility
Plugin and extension authors drop old PHP versions over time. Eventually an update refuses to install because it needs a newer PHP, and you lose that plugin’s own security fixes. It works the other way too. Older releases of Joomla, OpenCart and Magento can refuse to run on newer PHP at all, so the platform has to move before the PHP upgrade can. That is often the bigger job.

What usually breaks in a PHP upgrade
Most PHP upgrade breakage is predictable once you know which version a site was built for.
| Moving to | What changed | Typical symptom |
|---|---|---|
| PHP 7.0 | The original mysql database functions were removed | Blank white page, or “Call to undefined function mysql_connect()” |
| PHP 7.2 | The mcrypt extension was removed | Login, encryption or payment code fails |
| PHP 8.0 | each() and create_function() removed, many warnings became errors | “There has been a critical error on this website” |
| PHP 8.1 | Passing null to built-in functions deprecated | Pages of deprecation notices in the logs |
| PHP 8.2 | Dynamic properties deprecated | Logs flood on older plugins |
After a PHP upgrade, none of this shows on the home page. It shows in the contact form, the checkout, the login and the invoice generator. Two less obvious things catch people out:
- Scheduled tasks. Cron jobs can run a different PHP version from the website, so the site works in the browser while background tasks quietly fail.
- Encoded software. Scripts protected with ionCube need a Loader that matches the PHP version, and some old add-ons will not load on newer PHP at all.
Option 1: a PHP upgrade in place
Update the software, test a copy on the new version, then switch. For a maintained site it is usually the cheapest answer.
- Back up files and database, and confirm the backup restores.
- Update the core software, plugins and themes. Replace anything abandoned.
- Clone the site to a staging address and switch the clone to the target PHP version.
- Use the clone properly: submit the form, place an order, log in as an administrator.
- Read the error log, then switch the live site at a quiet time.
- Who it suits: WordPress, WooCommerce and other maintained platforms already on PHP 8.x with current plugins.
- Rough effort: often an hour or two for a WordPress site, including testing, through the dijitul support PHP upgrade service.
- Risks: skipping the staging copy. Picking the newest version from the dropdown and hoping is behind many of the panicked calls we get a day later.
Option 2: a PHP upgrade with code fixes
Some sites will not survive a version switch without a developer: custom themes, abandoned plugins, old WooCommerce extensions and hand-written code. The job is to find every incompatibility before the switch, not after it. Our developers scan the code with tools such as PHPCompatibility, PHPStan and Rector, write tests for the paths that matter, fix what the scan lists, then cut over with a rollback plan.
- Who it suits: sites on PHP 7.4 or older, bespoke systems, and shops with custom extensions where the design is still sound.
- Rough effort: a day or more for custom code or an old shop, longer for a large bespoke system. PHP upgrade and modernisation from dijitul developments is a fixed quote after a free chat.
- Risks: a PHP upgrade without tests breaks things quietly. The framework or platform may have to move at the same time. If most of the code has to change anyway, a rebuild can cost less, and we will price both.
Option 3: move to hosting that keeps old PHP running safely
Sometimes the code cannot move yet. The developer has gone, the budget is not there, or your host is removing old PHP versions on a date you cannot meet. Moving to a host that will keep the old version running is legitimate, as long as the site is properly contained. That is what dijihost legacy PHP hosting is for.
On dijihost you choose the PHP version per site in Plesk, with 5.6 and 7.x available alongside current 8.x where the platform supports them. Each site runs under its own system user in its own PHP-FPM pool, behind Cloudflare and a web application firewall, with daily backups. Migration is free, and a working copy is tested on a temporary address before DNS changes.
- Who it suits: working sites and bespoke systems that cannot take a PHP upgrade before a host’s deadline.
- Rough effort: very little from you. Send what logins you have and we do the move.
- Risks: old PHP is still out of official support. The protection for old PHP sites on dijihost is a set of mitigations, not an official fix, and the service is a bridge, not a destination. Read how to keep an old PHP site online safely so you can hold any host to it.
Sometimes the answer is no. A compromised site gets cleaned before it moves, and a site that stores card numbers in its own database has to stop doing that first.

Option 4: rebuild
Re-hosting changes where the code runs. Rebuilding changes what it does. Rebuild when the business has outgrown the system: the workarounds outnumber the features, small changes have stopped being small, or a PHP upgrade would mean rewriting most of the code anyway. The dijihost guide to rebuilding versus re-hosting an old system walks through the decision, and our post on whether your website is good enough is a quick test.
- Who it suits: sites nobody has been able to change for years, and systems that no longer fit how the business works.
- Rough effort: the largest of the five. A brochure site rebuild through dijitul web design starts from £250 + VAT. Bespoke systems go through legacy software modernisation, in stages, on a fixed quote.
- Risks: data migration and undocumented business rules are what rebuild quotes most often miss. A half-funded rebuild abandoned at eighty per cent is usually the worst outcome.
Never choose a rebuild in a panic. Move the site with option 3 first, then decide calmly.
Option 5: retire or replace
Some sites do not need saving, and no PHP upgrade is the cheapest PHP upgrade. If nobody uses the system, archive the data and switch it off. If off-the-shelf software now does the job better, move to that. Or freeze the old system as a read-only archive staff can still search, and start the new one clean.
- Who it suits: old campaign sites, duplicate sites, and internal tools that a standard product has overtaken.
- Rough effort: small. Take a full backup, export what you must keep, redirect the domain and close the hosting.
- Risks: deleting records you are required to keep, or keeping ten years of customer data you no longer need. Check whether your email runs on the same hosting before you cancel anything.
What a PHP upgrade costs with dijitul
All prices are + VAT.
| Job | Who does it | Price |
|---|---|---|
| PHP upgrade, pay as you go | dijitul support | £45 an hour, 30-minute minimum, then 15-minute blocks |
| Website care plan | dijitul support | £25, £50 or £99 a month |
| Hosting that keeps old PHP running | dijihost Complete Hosting | £1 a day (£365 a year or £35 a month), migration included |
| PHP upgrade of bespoke code | dijitul developments | Fixed quote after a free chat |
| Rebuild of a brochure site or shop | dijitul web design | Starter from £250, Business from £500, Ecommerce from £750 |
Two worked examples. A WordPress PHP upgrade from 8.2 with current plugins often takes one to two hours, so £45 to £90. An old OpenCart shop on PHP 7.4 whose host is removing that version is different: move it to dijihost at £1 a day so it keeps trading, then get the PHP upgrade quoted with no deadline hanging over it.

The £50 Business plan includes an hour of fixes each month, and on every plan we keep an eye on PHP support dates. Hosting is rarely the place to save money on an old site, as we explain in the real cost of website hosting. Our managed hosting and support page shows how the pieces fit, and our network lists which dijitul site does what.
When you do not need a PHP upgrade yet
- You are already on PHP 8.3 or newer. If it is 8.3, diary 31 December 2027 and carry on.
- Your host confirms in writing that its vendor backports security fixes to your version. You still need a plan, but not this month.
- The site is being replaced in the next few months. Host it safely until then and spend the money on the new one.
The common PHP upgrade mistakes are just as predictable:
- Testing only the home page.
- Jumping very old code straight to the newest version. From 5.6, go to 7.4 first, then 8.x.
- Having no backup that has actually been restored.
- Assuming a security plugin replaces a PHP upgrade. A flaw in PHP itself is fixed on the server, although good WordPress security plugins still matter.
Talk to us
Not sure which option fits? Forward the warning email and your web address through our contact page, or ring 01623 650333, Monday to Friday, 09:00 to 17:30. We are based in Mansfield and work with businesses across the UK. A straightforward PHP upgrade goes to dijitul support, a site that needs a safe home goes to dijihost, and bespoke code goes to dijitul developments. We will tell you if you do not need any of it.
Frequently asked questions
When does PHP 8.2 support end?
According to php.net, PHP 8.2 receives security fixes until 31 December 2026. After that it is end of life and the PHP project publishes no further fixes for it. PHP 8.3 is covered until 31 December 2027, PHP 8.4 until 31 December 2028 and PHP 8.5 until 31 December 2029.
Will my website stop working when PHP 8.2 reaches end of life?
No. End of life means the PHP project stops publishing security fixes for that version, so the risk builds up as new flaws are found. What usually breaks a site is the host switching it to a newer version without testing.
How much does a PHP upgrade cost?
With dijitul support, PHP upgrade work is £45 an hour plus VAT, with a 30-minute minimum. A WordPress site with current plugins often takes one to two hours, including testing. Old custom themes and bespoke code take longer, and larger bespoke jobs get a fixed quote from dijitul developments.
Will a PHP upgrade break my website?
A PHP upgrade can break a site if plugins, themes or custom code use features that newer PHP has removed or treats more strictly. Updating everything first and testing on a staging copy catches most problems. The usual casualties are forms, logins, checkouts and reports, not the home page.
Which version should a PHP upgrade aim for?
Choose the newest version your platform, theme and plugins fully support, with plenty of security support left. For most business sites in late 2026 that means PHP 8.3, 8.4 or 8.5. WordPress recommends 8.3 or greater. PHP 8.6 was only released on 19 November 2026, so give plugin authors time first.
Can I stay on an old version instead of doing a PHP upgrade?
Yes, for a while, if the site is properly contained. Our dijihost hosting runs older versions such as PHP 7.4 and 5.6 per site, isolated, behind Cloudflare and a web application firewall, with daily backups, for £1 a day plus VAT. Those layers are mitigations, not an official fix, so treat it as buying time.
How long does a PHP upgrade take?
A well-maintained WordPress site may need only updates and an hour or two of testing. Custom code or an old shop can take a day or more. A bespoke system with a lot of database code takes longer, and gets an estimate first.
Written in November 2026. dijitul is a digital agency based in Mansfield, working with businesses across the UK since 2006. All prices exclude VAT. Photos by Castorly Stock and Daniil Komov via Pexels.
Olly Mooney


