PHP 8.2 end of life: WordPress upgrade checklist (December 2026)

PHP 8.2 ends security support on December 31, 2026, per php.net. WordPress sites still running PHP 8.2 should upgrade to PHP 8.3 (security support through December 31, 2027) or PHP 8.4 (security support through December 31, 2028) on a staging copy first. In THTheme's December 5, 2026 pull of the top 1,000 WordPress.org plugins, 826 list a minimum PHP of 8.1 or lower, while 37 plugins have gone over 2 years without an update.

Updated By THTheme Editorial Team

Key facts

Supported PHP branches checked against php.net on December 5, 2026
PHP branchReleasedActive support endsSecurity support endsUpgrade role
PHP 8.1 and older2021 or earlierEndedEnded (8.1 ended Dec 31, 2025)Unsupported; move off immediately
PHP 8.22022-12-082024-12-312026-12-31Reaching EOL; plan switch now
PHP 8.32023-11-232025-12-312027-12-31Conservative step for older plugins
PHP 8.42024-11-212026-12-312028-12-31Balanced target with 2 years left
PHP 8.52025-11-202027-12-312029-12-31Verify third-party plugins on staging
PHP 8.62026-11-192028-12-312030-12-31Newest branch; wait for plugin testing

What PHP 8.2 end of life means for your site

Your WordPress site will not stop loading on January 1, 2027 if it stays on PHP 8.2. End of life on php.net means the PHP group stops releasing security patches for newly discovered vulnerabilities in that branch. Some managed Linux distributions backport selected fixes, but most shared and managed WordPress hosts begin forcing migrations or adding legacy-PHP fees after the security cutoff.

Before touching the server setting, check your current PHP version inside WordPress under Tools > Site Health > Info > Server.

Audit stale plugins before changing PHP

Most PHP upgrade failures come from unmaintained plugins, child theme functions.php snippets or custom code, not WordPress core. In the THTheme Maintenance Index (December 5, 2026, n=1,000 popular plugins):

Run any public site through the THTheme theme and maintenance detector to flag stale or untested WordPress.org plugins before scheduling your upgrade window.

Eight-step WordPress PHP upgrade checklist

  1. Take a full off-site backup (database plus wp-content). See UpdraftPlus vs All-in-One WP Migration if you need a backup tool.
  2. Clone production to a staging environment. Never flip major PHP versions directly on a live store during peak traffic.
  3. Update WordPress core, theme and all plugins on staging first. Delete inactive plugins and unused themes instead of leaving them disabled.
  4. Enable debug logging on staging (WP_DEBUG and WP_DEBUG_LOG set to true, WP_DEBUG_DISPLAY set to false) so deprecation notices write to wp-content/debug.log instead of printing to visitors.
  5. Switch PHP from 8.2 to 8.3 or 8.4 in your host control panel.
  6. Test critical user flows: login, editor save, media upload, contact form submission, WooCommerce add-to-cart, checkout, refunds and transactional email receipts.
  7. Inspect debug.log and PHP error logs. Fix fatal errors before promoting; log deprecation warnings for your plugin maintenance queue.
  8. Apply the switch on production during low traffic, flush page and object caches, and verify you can revert to PHP 8.2 in one click if an error appears.

Choosing between PHP 8.3 and PHP 8.4

Check minimum PHP headers for individual extensions in the popular WordPress plugins table and popular WordPress themes table.

FAQ

When does PHP 8.2 reach end of life?

Per php.net, PHP 8.2 ended active bug-fix support on December 31, 2024 and ends security support on December 31, 2026.

What PHP version should a WordPress site upgrade to from 8.2?

Upgrade to PHP 8.3 (security fixes until December 31, 2027) for the safest minimal jump, or PHP 8.4 (security fixes until December 31, 2028) if all active plugins pass staging tests cleanly.

Does WordPress 7.1.5 require PHP 8.3?

No. WordPress 7.1.5 sets a minimum requirement of PHP 7.4, though running a currently supported PHP branch (8.3 or newer after December 31, 2026) is needed for upstream security patches.

If a plugin lists Requires PHP 7.4, will it break on PHP 8.4?

Not necessarily. Requires PHP is only the minimum version the plugin accepts. Check its last-updated date, changelog and staging error log to confirm behavior on PHP 8.4.

Sources