PHP 8.2 end of life: what WordPress sites on managed hosting should do before 31 December 2026

By The ScaleHostReview Editorial Team · Published · Last updated:

Guide · How we review · Editorial standards · Advertiser disclosure

Research-based reviews from official sources Editorial standards Weighted scoring rubric Last updated: 22 November 2026
PHP 8.2 end of life: what WordPress sites on managed hosting should do before 31 December 2026

Every PHP branch gets two years of active support and then two years of security fixes only. After that, php.net stops releasing patches for it. PHP 8.2 reaches that point on 31 December 2026. Most WordPress owners never choose a PHP version; their host does, and the host's policy decides whether the change happens on your schedule or theirs. This guide lays out the dates from php.net and WordPress, the policy questions that decide who controls the date, and what Cloudways says in its own documentation. Sources were read on 9 November 2026 and rechecked on 10 November 2026.

The dates that matter

PHP branchStatus on 9 November 2026Security fixes until
8.1End of life. Last release 8.1.3431 December 2025 (ended)
8.2Security fixes only31 December 2026
8.3Security fixes only (active support ended 31 December 2025)31 December of next year
8.4Active support until 31 December 2026, then security onlyTwo more years after that
8.5Active support (released 20 November 2025)Four years from release

Source: php.net supported versions and php.net unsupported branches, read 9 November 2026.

The practical reading: 8.2 has seven weeks of patches left, 8.3 has a little over a year, and 8.4 or 8.5 give you the longest runway. If your host offers 8.4, it is the version that avoids doing this again next winter.

Timeline of PHP 8.1 to 8.5 support dates from November 2025 to December 2027
The dates from this article's table. Diagram drawn by the editorial team from the figures in this article.
PHP.net Supported Versions table listing branches 8.2 to 8.5 with active and security support dates
PHP.net Supported Versions page, captured 11 Nov 2026.

What WordPress itself recommends

WordPress's requirements page recommends PHP 8.3 or greater. In May 2026 the core team retired the "beta support" label it used to put on new PHP versions and now documents WordPress 6.9 and 7.0 as fully supporting PHP 8.5, 6.8 and later as fully supporting 8.4, and 6.4 and later as fully supporting 8.3 (PHP support clarification, spring 2026). The minimum supported version is 7.4, but that is a floor for compatibility, not advice to stay there.

Core support is only part of the picture. The same post notes that WordPress "is rarely used in isolation". Old plugins, a custom theme, or a snippet pasted into functions.php years ago are what break on a PHP upgrade. That is why the test matters more than the version number.

Five questions that decide who controls the date

Managed hosts take different approaches to expiring PHP branches. Some move every site automatically, some let you opt out, and some leave the switch entirely to you. Read your own host's PHP documentation, or ask support, for the answers to these five questions before December:

QuestionWhy it mattersWhat a good answer looks like
Does the host upgrade end-of-life versions automatically?If yes, the change happens on the host's schedule, not yours, and untested code meets the new version in production.A published date and a target version you can test against now
Can you defer or opt out?A short deferral buys time for a plugin fix. An open-ended opt-out keeps an unpatched branch running.A defined, temporary window, with the risks stated
Who gets warned, and how early?Warnings often go to a technical contact nobody reads.Email to a named contact several weeks ahead
Can staging run a different PHP version from production?Staging is the only honest compatibility test.Per-environment version control
Can you switch back if something breaks?A quick rollback turns an outage into a minor incident.A one-click return to the previous version while it is still offered

How Cloudways handles PHP versions

PointWhat the Cloudways article says
Versions offered7.4, 8.0, 8.1, 8.2, 8.3 and 8.4. 8.5 is “not yet available” and promised by the end of 2026
Default for new serversNew servers and applications are set to PHP 8.2
At end of lifeThe article does not describe an automatic move at end of life. It says Cloudways monitors official PHP security releases and patches the versions it supports
How the switch is madeApplication Settings > PHP Settings on Flexible (8.4 needs Debian 11 or 12 and is Flexible-only); Workflows/Tools > PHP Settings on Autonomous
RollbackBackup recommended before changing; you can switch back to a previous supported version

Source: Cloudways PHP upgrade article, read 9 November 2026. A "does not describe" cell means that page did not say; it does not mean the feature is missing.

What that means on Cloudways: you own the switch

Cloudways gives you the most control and the most responsibility. New servers default to 8.2, which is the branch expiring this year, so a site launched recently may be on it without anyone choosing it. The upgrade is per application, and the server's packages matter: PHP 8.4 needs Debian 11 or 12, and on the page we read it is available on Cloudways Flexible only. Cloudways also says it applies official PHP security patches to the versions it supports, but that does not extend php.net's own support dates. Put the upgrade on your calendar.

If your host upgrades automatically

Automatic upgrades protect sites nobody is watching, but they usually move a site to the host's newest supported version, which can mean jumping several minor versions at once. If you have custom code, test against the newest version your host offers now, then switch on your own schedule before the host's date. Treat any "long-term support" or extended-support option for an old branch as a short bridge, not a plan.

Cloudways help center article titled How to Upgrade PHP Version on Cloudways
Cloudways Help Center article on changing the PHP version, captured 11 Nov 2026.

A test-then-switch plan

Seven-step flowchart for testing and switching a site's PHP version
The plan in this section. Diagram drawn by the editorial team from the figures in this article.

If a plugin will not run on 8.3 or later

A plugin that breaks on supported PHP versions is a security problem of its own. Check for an update or a maintained fork, ask the author, or replace it. Holding the whole site on an expiring PHP version to keep one plugin alive trades a small known problem for an open-ended one. WordPress's update PHP guide walks through the same reasoning for site owners who do not manage servers.

Backups matter most on the day you change PHP: see managed WordPress backups and retention. For a bigger change than a PHP version, see what to measure before you move a site and the migration checklist. Host comparisons: DigitalOcean vs Cloudways, Hostinger vs Cloudways, Cloudways pricing explained and managed vs shared hosting.

See Cloudways plans and server options →May earn a commission.

The Cloudways button is our affiliate link. The php.net, WordPress and Cloudways documentation links above are ordinary links.

How we checked this: we read php.net, WordPress.org and Cloudways' current documentation on 9 November 2026 and rechecked the dates on 10 November 2026. We did not run PHP upgrades for this article.

Update, 22 November 2026: PHP 8.6 is out

PHP.net's supported versions table, read on 22 November 2026, lists PHP 8.6 as released on 19 November 2026, with active support until 31 December 2028 and security support until 31 December 2030. It still shows PHP 8.2 security support ending on 31 December 2026, PHP 8.3 ending on 31 December 2027, and PHP 8.4 moving from active to security-only support on 31 December 2026. The WordPress Hosting Handbook recommends PHP 8.4 or later for production and says hosts should test their full stack before making a new version the default. The full checklist is in WordPress hosting requirements.

Compare prices before you buy

Our highest-intent guides, built from official pricing pages:

Frequently asked questions

When does PHP 8.2 reach end of life?
php.net lists 31 December 2026 as the end of security support for PHP 8.2. After that date the PHP project stops releasing fixes for the branch.
Which PHP version should a WordPress site use?
WordPress recommends PHP 8.3 or greater, and documents WordPress 6.8 and later as fully supporting 8.4, and 6.9 and 7.0 as fully supporting 8.5. Use the newest version your host offers that passes your staging test.
Will my host upgrade PHP automatically?
It depends on the host. Some move every site off an end-of-life version on a fixed date, some let you opt out, and some leave the switch to you. Check your host's PHP documentation for the date, the target version, and whether you can defer it.
What PHP version does Cloudways use for new servers?
Cloudways' upgrade article says new servers and applications are configured to use PHP 8.2 by default, and that you can upgrade to 8.4 on Cloudways Flexible with Debian 11 or 12.
Did you test these upgrades yourselves?
No. This guide summarises php.net, WordPress and Cloudways documentation as of 9 November 2026.
Is PHP 8.6 released?
Yes. PHP.net lists PHP 8.6 as released on 19 November 2026. The WordPress Hosting Handbook still recommends PHP 8.4 or later for production, and advises hosts to test their full stack before making a new version the default.

Sources

Official pages, documentation and primary documents this page relies on. Where the text gives a price, limit or rule, it names the date that page was read. Vendors change pages; check the source before you buy.

  1. php.net supported versions php.net
  2. php.net unsupported branches php.net
  3. requirements page wordpress.org
  4. PHP support clarification, spring 2026 make.wordpress.org
  5. Cloudways PHP upgrade article support.cloudways.com
  6. update PHP guide wordpress.org
  7. Cloudways official site cloudways.comCommission link
  8. Hostinger official site hostinger.com
  9. DigitalOcean official site digitalocean.com