PHP 8.2 loses security support on 31 December 2026 (37 days away): why hosting companies' forced upgrades break WordPress and Laravel sites
- php
- maintenance
- hosting
- security
Today is Tuesday 24 November 2026, which leaves thirty-seven days until PHP 8.2 reaches the end of its four-year life on 31 December 2026. After New Year’s Eve, the PHP project stops shipping security fixes for the 8.2 branch completely. Any vulnerability discovered in the PHP engine in January 2027 will be patched in 8.3, 8.4, 8.5, and the brand-new 8.6 release that landed last week, while every server left sitting on 8.2 stays exposed with no patch to install.
For UK small businesses running WordPress, WooCommerce, or a custom Laravel portal, two annoying things happen every time a popular PHP version dies at Christmas. Either your unmanaged VPS sits quietly on an expired runtime until a Cyber Essentials v3.3 scanner fails your domain, or your shared hosting company flips your site onto PHP 8.4 automatically on a Tuesday morning in January and breaks your checkout page while you are in a meeting. On my £49 a month website care plan, we test and move every client site on a staging copy weeks before the deadline so neither surprise ever happens.
The two ways hosts handle dead PHP versions: junk fees or blind switches
Check the billing emails from big high-street domain and shared hosting providers over the next four weeks and you will see one of two playbooks.
Some shared hosts leave your site on the dead PHP version and quietly bolt an “Extended PHP Support” fee of £7 to £12 a month onto your hosting invoice, charging you over £100 a year just to avoid spending thirty minutes testing your plugins on a current branch.
Other managed platforms (Acquia already removed PHP 8.2 back on 1 October 2026, and cPanel/Plesk fleets follow around year-end) force-switch remaining accounts straight onto PHP 8.3 or PHP 8.4 on a cutoff date. If your theme was written by an agency in 2021 that is no longer around, or if you rely on an older WooCommerce shipping or payment gateway plugin, finding out about an incompatibility on your live domain during January trading is doing maintenance backwards.
Where every PHP version stands heading into 2027
Log into WordPress (Tools → Site Health → Info → Server) or run php -v over SSH on your Linux server and check your branch against the official PHP support calendar:
| PHP Branch | Current Status (24 Nov 2026) | Security Support Ends | What a UK business site should do now |
|---|---|---|---|
| PHP 8.1 & older (7.4 / 8.0) | End of Life | Ended 31 Dec 2025 (or earlier) | Unpatched for a year+; fails security & PCI-DSS checks immediately |
| PHP 8.2 | Final weeks of security-only fixes | 31 December 2026 (37 days left) | Test on staging now and move before the Christmas break |
| PHP 8.3 | Security fixes only | 31 December 2027 (13 months left) | Safe stepping-stone if one critical plugin is not ready for 8.4 yet |
| PHP 8.4 | Active / Security support | 31 December 2028 (2+ years left) | Best production target for current WordPress, WooCommerce & Laravel sites |
| PHP 8.5 & PHP 8.6 (new 19 Nov 2026) | Active support | Dec 2029 (8.5) / Dec 2030 (8.6) | Good for modern custom builds; check third-party plugin support first |
What actually breaks when you jump from PHP 8.2 to 8.4
Core WordPress and modern Laravel versions run cleanly on PHP 8.4 and 8.5. When a site white-screens or floods its disk during a PHP upgrade, the culprit is almost always an unmaintained plugin, a bespoke child theme, or a sloppy server configuration.
First, PHP 8.4 deprecated implicitly nullable parameter types—a very common shorthand in older PHP code where a developer wrote function calculate_shipping( array $items = null ) without putting a question mark in front of array. On a site where an old developer left WP_DEBUG and display_errors switched on in wp-config.php, PHP 8.4 prints deprecation notices straight into the HTML header before the page loads, which breaks login cookies, AJAX basket updates, and PDF invoice downloads instantly.
Second, even when errors are hidden from visitors, a busy WooCommerce shop throwing twenty deprecation warnings on every page view writes gigabytes of text into error_log or /var/log/php-fpm/ within days—filling up the SSD and crashing MySQL or MariaDB just like an oversized local backup plugin.
Third, custom PHP scripts bolted onto the side of a website to push leads into an old CRM or accounting system often rely on abandoned Composer packages or missing PHP extensions (intl, imagick, soap, or gd) that were enabled in your old php8.2-fpm pool and forgotten when someone installed php8.4-fpm.
How to upgrade cleanly before December winds down
Never flip the PHP dropdown in a live hosting control panel at four o’clock on a Friday and hope for the best. Do it in four calm steps while November is still quiet.
Take a verified off-site database and file backup first. Clone the site onto a staging subdomain running PHP 8.4 with error logging switched on (WP_DEBUG_LOG enabled, WP_DEBUG_DISPLAY strictly off). Click through your real money paths: submit the enquiry form, add a product to the basket, test the Stripe or PayPal webhook, and read the staging debug log to see which plugin complained. Update or replace any abandoned plugin, match the php.ini memory and upload limits across your FPM pool, and only then switch the live Nginx or Apache socket over to PHP 8.4.
Common questions
Will my website stop loading at midnight on 31 December 2026 if it stays on PHP 8.2?
No. PHP 8.2 will carry on executing code on 1 January 2027 unless your hosting company forcibly switches or disables it. The risk is security and compliance: no further security patches will ever be released by the PHP team for 8.2, which exposes the site to newly disclosed vulnerabilities and fails Cyber Essentials and PCI-DSS checks.
Should we move to PHP 8.3, PHP 8.4, or the new PHP 8.6?
For most business WordPress, WooCommerce, and Laravel applications in late 2026, PHP 8.4 is the sweet spot: third-party plugin compatibility is mature and security support runs until 31 December 2028. PHP 8.6 only shipped on 19 November 2026, so many commercial plugins and C-extensions (redis, imagick) are still catching up with it.
What if our site relies on a bespoke PHP system written years ago that breaks on PHP 8.4?
Usually a few hours of targeted code refactoring fixes the deprecated function signatures cleanly so you do not have to rebuild the whole system. I handle both one-off custom PHP and Laravel upgrades and ongoing £49 a month website care plans.
If your company website or custom PHP portal is still sitting on PHP 8.2 (or even older 8.1 or 7.4) and you want it tested and upgraded cleanly before the 31 December cutoff, take a look at my £49 a month Website Care Plan or send me a message and I will check what your server is running.
