PHP End of Life in 2026: Why PHP 8.2 Stops Getting Security Fixes on December 31, What Running an Unsupported Version Actually Risks for a WordPress Site, and How to Upgrade to PHP 8.4 Without Breaking Plugins
- Internet Pros Team
- November 26, 2026
- Web Design
Most business owners have never chosen a PHP version. Their web host picked one when the site was built, and it has been running quietly ever since. But PHP powers roughly three quarters of all websites whose server language is known, including every WordPress, WooCommerce, Drupal and Joomla site. On December 31, 2026, PHP 8.2 receives its last security fix. After that date, any new hole found in it stays open for good.
How the PHP Support Calendar Works
The PHP project releases a new version every November. Since a 2024 policy change, each version gets two years of active support (bug and security fixes) followed by two years of security-only support, and every phase now ends on December 31. Once the four years are up, the PHP team stops publishing fixes for that version entirely.
| Version | Released | Security fixes end | Status today |
|---|---|---|---|
| PHP 7.4 and older | 2019 or earlier | November 2022 | Unsupported for years |
| PHP 8.0 | November 2020 | November 2023 | Unsupported |
| PHP 8.1 | November 2021 | December 31, 2025 | Unsupported |
| PHP 8.2 | December 2022 | December 31, 2026 | Final month of fixes |
| PHP 8.3 | November 2023 | December 31, 2027 | Security fixes only |
| PHP 8.4 | November 2024 | December 31, 2028 | Fully supported |
| PHP 8.5 | November 2025 | December 31, 2029 | Fully supported |
Usage statistics from WordPress.org tell the story: a large share of active sites still run PHP 7.4, 8.0 or 8.1, and after this month PHP 8.2 joins them. That means millions of business websites will be running a language version nobody patches.
What “Unsupported” Actually Means
The site does not break on January 1. It keeps loading exactly as before, which is why so many old versions linger. The risk builds slowly:
- New vulnerabilities stay open. Flaws in PHP itself are rare but serious when they appear. In 2024, CVE-2024-4577, a remote code execution bug in PHP on Windows servers, was exploited by ransomware groups within days of disclosure. Sites on unsupported branches never got the fix.
- Plugins move on without you. Plugin and theme developers raise their minimum PHP requirement over time. When you cannot install the newest release, you also miss its security fixes, and plugin flaws are where most WordPress hacks actually start.
- Compliance gets harder. PCI DSS requires supported, patched software on systems that handle card data, and scanners flag end-of-life PHP versions they see in server headers. Cyber insurance applications increasingly ask about unsupported software too.
- Hosts force the issue. Many shared hosts either stop offering old versions or start charging for “extended support” builds. A forced upgrade on the host’s schedule is far riskier than a planned one on yours.
- Performance is left on the table. Each release since PHP 8.0 has brought speed improvements. Moving from 7.4 to 8.4 often cuts server response times noticeably with no code changes.
One nuance: Linux distributions such as Red Hat Enterprise Linux and Ubuntu LTS backport security fixes into their own PHP packages for longer than the PHP project does. If your server runs a distribution-supplied PHP and is kept updated, an older version number is not automatically unpatched. On typical shared hosting, though, assume it is.
Why Upgrades Break Sites
PHP 8 is stricter than PHP 7, and each minor version deprecates more old habits. The code that breaks is almost never WordPress core, which is well maintained. It is the abandoned plugin, the custom theme written in 2017, or a functions.php snippet someone pasted from a forum. The usual suspects:
- Functions removed in PHP 8.0, such as
create_function()andeach(), which cause a fatal error. - Stricter type handling, where passing
nullto built-in string functions now raises deprecation warnings that flood logs. - Dynamic properties, deprecated in PHP 8.2, which older plugins rely on heavily.
- Implicitly nullable parameters, deprecated in PHP 8.4, which trigger warnings in code that has not been updated.
Deprecation warnings do not stop a site, but if display_errors is switched on in production they print on the page for visitors to see, along with file paths that help attackers. Fatal errors are worse: the dreaded white screen or “There has been a critical error on this website.”
A Safe Upgrade Plan
Upgrade PHP in Six Steps
- Find your version. In WordPress, open Tools → Site Health → Info → Server. In cPanel, check MultiPHP Manager. Note which sites on the account share that version.
- Back up everything. Take a full file and database backup and confirm you can restore it before touching anything.
- Update and prune. Update core, themes and plugins first. Delete plugins that are inactive or have not been updated in two years; they are the most likely to break.
- Scan the code. Run the PHPCompatibility ruleset for PHP_CodeSniffer against custom themes and plugins, targeting 8.4. Developers can use Rector to fix many issues automatically.
- Test on staging. Clone the site, switch the clone to PHP 8.4, and click through the pages that make money: checkout, contact forms, logins, booking. Watch the error log, not just the screen.
- Switch production with a rollback ready. Change the version during a quiet hour, test the same pages again, and keep the old version selected in your notes so you can switch back in one click if something fails.
Which Version Should You Target?
For most business sites, PHP 8.4 is the sweet spot right now. It is fully supported until the end of 2026 for bug fixes and through 2028 for security, and plugin compatibility is mature. PHP 8.3 is an acceptable stepping stone if a critical plugin is not yet ready, but it only buys one more year. PHP 8.5, a year old this month, works well for custom applications and newer stacks, though some older plugins still lag behind it. Whatever you choose, put the next upgrade date on the calendar now so this is never an emergency again.
The Bottom Line
PHP end of life is a slow risk, not a sudden outage, and that is exactly why it gets ignored. With PHP 8.2 losing support on December 31, now is a good time to check every site you own, clean out stale plugins and move to a version that will be patched for years.
Not sure which PHP version your website runs, or worried an upgrade will break it? Contact Internet Pros and we will audit your hosting, test the upgrade on a staging copy and switch you over safely.