| Version | Security updates until | Time left | Status |
|---|---|---|---|
| PHP 8.6latest 8.6.0released Nov 19, 2026Supported | Dec 31, 20301,498 days left | 1,498 days left | Supported |
| PHP 8.5latest 8.5.13released Nov 20, 2025Supported6.5% of WordPress installations | Dec 31, 20291,133 days left | 1,133 days left | Supported6.5% of WordPress installations |
| PHP 8.4latest 8.4.28released Nov 21, 2024Supported10.7% of WordPress installations | Dec 31, 2028768 days left | 768 days left | Supported10.7% of WordPress installations |
| PHP 8.3latest 8.3.37released Nov 23, 2023Security updates only27.9% of WordPress installations | Dec 31, 2027402 days left | 402 days left | Security updates only27.9% of WordPress installations |
| PHP 8.2latest 8.2.36released Dec 8, 2022Support ending soon22.6% of WordPress installations | Dec 31, 202637 days left | 37 days left | Support ending soon22.6% of WordPress installations |
| PHP 8.1latest 8.1.34released Nov 25, 2021No longer supported9.1% of WordPress installations | Dec 31, 2025expired | expired | No longer supported9.1% of WordPress installations |
| PHP 8.0latest 8.0.30released Nov 26, 2020No longer supported3.3% of WordPress installations | Nov 26, 2023expired | expired | No longer supported3.3% of WordPress installations |
| PHP 7.4latest 7.4.33released Nov 28, 2019No longer supported14.4% of WordPress installations | Nov 28, 2022expired | expired | No longer supported14.4% of WordPress installations |
What changes for PHP 8.2 on December 31, 2026?
PHP 8.2 was released in December 2022. Since the end of 2024, the version has only received security updates, and on December 31, 2026, those end too. From January 1, 2027, no more official fixes will be released for PHP 8.2.
Your WordPress website works exactly the same after PHP 8.2 reaches end of support. What changes is the risk: every newly discovered vulnerability in PHP 8.2 stays open, and your hosting provider will switch off the version sooner or later.
With some Swiss hosting providers, PHP 8.2 is only available until the end of 2026; others keep it longer or for an extra fee. Each Swiss hosting provider’s PHP deadlines are in the article PHP end of life. The PHP vulnerabilities of October 2026 showed that a hosting provider can also switch the PHP version without notice: at the time, several hosting providers moved applications to a new PHP version without any transition period.
How many WordPress websites does the end of support for PHP 8.2 affect?
WordPress.org publishes which PHP versions WordPress installations run on, counted during the regular update check. As of November 10, 2026:
- 22.6 percent run on PHP 8.2 and lose security support at the end of 2026.
- 32.2 percent run on PHP 8.1 or older and already have no security support today, including 14.4 percent on PHP 7.4.
- 45.2 percent run on PHP 8.3, 8.4 or 8.5.
From January 2027, according to the wordpress.org figures, more than half of all WordPress installations, 54.8 percent, will be running on a PHP version without security updates.
WordPress websites on PHP 7.2 or 7.3 face an additional problem: since WordPress 7.0, PHP 7.4 is the minimum. They are stuck on WordPress 6.9, and WordPress officially only supports the latest version, which as of November 2026 is 7.1.4.
The WordPress core is rarely the problem when switching PHP versions
WordPress itself is ready for new PHP versions early. According to the core team’s handbook, WordPress is compatible with PHP 8.4 from version 6.7 and with PHP 8.5 from 6.9. For PHP 8.6, the core team has declared support from WordPress 7.2, due on December 8, 2026. WordPress recommends PHP 8.3 or newer.
The hurdle in switching a WordPress website’s PHP version is everything that has been added over the years. According to Patchstack, 11,334 new vulnerabilities were reported in the WordPress ecosystem in 2025, 91 percent of them in plugins. The same plugins decide whether your website survives the PHP switch:
- Plugins nobody maintains anymore. They were written for the PHP version of their day and won’t get any more adjustments.
- Premium plugins and themes with an expired license. Updates are only available with a valid license. If the license was in the agency’s name, your website hasn’t received anything since the agency left, including adjustments for new PHP versions.
- Custom code. The former agency’s custom plugins or code in the theme’s
functions.php. Nobody has tested it with a new PHP version since the agency left. - Old page builder versions. A builder that hasn’t been updated in years carries the entire layout and is itself a likely source of errors.
- Missing PHP extensions. As of PHP 8.4, the IMAP extension is no longer part of PHP. Plugins that fetch email via IMAP then need a replacement, or a hosting provider that offers the extension separately.
The step from PHP 8.2 to PHP 8.3 or 8.4 is small for most WordPress code. Many changes first show up as warnings in the error log rather than as crashes. PHP 8.2, for example, deprecated dynamic properties, which fills the log with older plugins.
The big break comes if your WordPress website still runs on PHP 7.4: with PHP 8.0, functions were removed entirely, and old plugins fail with a fatal error. What to do after such a fatal error is covered in the article Getting your web application running again.
How the PHP upgrade of a WordPress website is planned
A PHP upgrade of a WordPress website from PHP 8.2 to PHP 8.4 takes seven steps:
- Take stock. WordPress, PHP and database version, all plugins and themes with their version, origin (wordpress.org, premium or custom-built), last update and license. Much of this is under Tools → Site Health → Info.
- Backup off the server. Files and database, with a restore that has been tried at least once.
- A copy with the new PHP version. A staging environment with PHP 8.4, not the live server. Many hosting providers offer staging directly in the panel.
- Check the code automatically. Tools such as PHPCompatibilityWP find places in the plugin and theme code that no longer run on the new PHP version.
- Click through what matters. Contact form, login, members’ area, cart and checkout, newsletter sign-up, integrations. With
WP_DEBUG_LOG, errors and warnings go to a log file instead of appearing on the website. - Update or replace plugins. On the staging copy first: install updates, replace abandoned plugins, adapt custom code.
- Switch live, with a way back. The switch in the hosting panel happens at a quiet time, and the error log is watched closely for a few days afterward. As long as your hosting provider still offers PHP 8.2, the way back stays open.
The target version for a WordPress website on PHP 8.2 is usually PHP 8.4, with security updates until the end of 2028. If an important plugin isn’t ready yet, PHP 8.3, covered until the end of 2027, is a clean intermediate step.
The switch to PHP 8.4 will hardly make your WordPress website faster: why that is, is explained in the article Does a PHP upgrade make the application faster?.
How much work is the PHP upgrade?
The work for a WordPress website’s PHP upgrade depends on three things: how many plugins are installed, how much custom code is in there and how long it has been since anyone updated anything. A lean website with maintained plugins often switches without a single change to the code. A website with custom plugins, an old page builder and a shop needs more. The work then lies in replacing and adapting, not in switching the PHP version.
If your WordPress website runs a WooCommerce shop connected to an ERP, the PHP upgrade belongs in the same test run as the shop updates. What such a test run looks like is in the article Taking over a WooCommerce shop with an ERP integration.
When nobody knows your WordPress website
The PHP upgrade of a WordPress website gets difficult when the agency is gone and nobody knows which plugin does what and where custom code is hiding. Unique-P’s Takeover Assessment clarifies exactly that with its WordPress review module: versions, plugins, licenses, custom code and a plan for the PHP upgrade, with a fixed price for the implementation.
After the upgrade, ongoing maintenance from Unique-P keeps WordPress, plugins and PHP up to date on a fixed schedule, so the next deadline doesn’t catch you off guard again. How taking over a WordPress website works is on the WordPress website takeover page.
Sources
- [1]Supported Versions · php.net
- [2]WordPress-Installationen nach PHP-Version · WordPress.org, retrieved November 10, 2026
- [3]Requirements · WordPress.org
- [4]PHP Compatibility and WordPress Versions · Make WordPress Core, Handbuch
- [5]Dropping support for PHP 7.2 and 7.3 · Make WordPress Core, January 9, 2026
- [6]WordPress 7.1.4 (Release Notes) · WordPress.org, October 28, 2026
- [7]State of WordPress Security in 2026 · Patchstack
- [8]Migrating from PHP 8.1.x to PHP 8.2.x, Deprecated features · php.net
- [9]Migrating from PHP 8.3.x to PHP 8.4.x, Removed Extensions · php.net
- [10]PHPCompatibilityWP · PHPCompatibility, GitHub
- [11]PHP Benchmarks: 8.5 vs 8.4, 8.3 and 7.4 · Tideways, November 19, 2025