PHP 8.6 came out on 19 November. The short answer: don’t rush to it, wait for WordPress 7.2 on 8 December and for your plugins to catch up. The move that really matters this year is a different one: PHP 8.2, which runs about one WordPress site in five, stops getting security fixes on 31 December.

Last updated: 26 November 2026.

In 30 seconds

  1. On PHP 8.2 or older? Move before 31 December. PHP 8.4 is my pick today.
  2. Want PHP 8.6? Wait for WordPress 7.2 (8 December). On WordPress 7.1, PHP 8.6 can turn some uploaded photos black.
  3. Check your plugins first. Most will just log a few notices, but plugins that store media in the cloud need an update.
  4. Always test on a staging copy, and keep the old version one click away. Here’s how.

What PHP 8.6 changes for a WordPress site

For you as a site owner, very little you can see. PHP is the language WordPress is written in, and 8.6 mostly gives developers new tools: partial function application, a clamp() function, a Duration class for timeouts, a better way to watch many connections at once. WordPress itself won’t use most of these for years, because it still has to run on PHP 7.4.

What you do get for free: some speed work under the hood (closures cached between uses, faster JSON and printf()), safer session defaults, and the fix for the PHP-FPM flaw of 19 November, which 8.6.0 shipped with. Don’t expect your site to feel twice as fast. It’s a nice upgrade, not a miracle.

Why I’d wait a few weeks for 8.6

WordPress only declared itself fully compatible with PHP 8.6 in WordPress 7.2, which comes out on 8 December. And that support is not added to older WordPress versions. On WordPress 7.1 with PHP 8.6, two things can go wrong:

  • Some photos come out black. PHP 8.6 ships a new version of GD, one of the two image libraries WordPress can use. WordPress 7.1 flipped images in a way that GD now answers with an all-black picture, and WordPress flips photos automatically when the camera saved them mirrored or upside down (some phones do). WordPress 7.2 fixes it. Sites using Imagick instead of GD are not affected.
  • Cloud media uploads can fail. If a plugin stores your media on S3 or another cloud storage through its own “stream wrapper”, PHP 8.6 can report the save as failed even when the file was written. That plugin needs an update (one small method), so check its changelog before you switch.

Then there are deprecation notices. PHP 8.6 retires a long list of old functions, and some are everywhere: the WordPress team found spl_object_hash() about 9,000 times in more than 2,300 plugins. A deprecation is a warning, not an error, so your site keeps working, but your debug log can fill up fast until your plugins are updated.

The deadline that matters more: PHP 8.2 ends on 31 December

Each PHP version gets two years of bug fixes, then two years of security fixes only, then nothing. Here’s where every version stands today:

PHP versionSecurity fixes untilWordPress sites on it
8.1 and olderAlready overabout 30%
8.231 December 202622%
8.331 December 202728%
8.431 December 202811%
8.531 December 20297%
8.631 December 2030just started

So about half of all WordPress sites will run a PHP version without security fixes on 1 January. This year alone, PHP2Shell and the PHP-FPM flaw needed a PHP update to be fixed. On an unsupported version, the next one simply won’t get a fix. If your site is on 8.2 or older, that’s the move to plan now, not 8.6.

Which PHP version should I pick today?

PHP 8.4 is my pick for most sites right now: it gets security fixes until the end of 2028, it has been around for two years so plugins are used to it, and WordPress runs on it without fuss. PHP 8.3 is the safest choice if you run older plugins, and it’s still covered until the end of 2027. PHP 8.5 is fine too if your plugins are well maintained.

PHP 8.6: early next year, once you’re on WordPress 7.2 and your important plugins say they support it. There’s no prize for being first, and nothing forces you to hurry: 8.4 and 8.5 are covered for years.

How to switch safely

  1. See where you are. In wp-admin, open Tools → Site Health → Info → Server. That’s the PHP version actually serving your site.
  2. Make a backup, files and database.
  3. Try it on a staging copy first if your host offers one (most do, often one click).
  4. Turn on the debug log on that copy, so you can see the warnings. My guide to PHP error logs shows how.
  5. Switch the PHP version in your hosting panel. It’s usually a menu called PHP version, PHP settings or MultiPHP.
  6. Click around: a few pages, the block editor, a contact form, the checkout if you sell. Upload a photo taken with your phone, and check that it’s not black or upside down.
  7. Read the log. Notices and deprecations can wait for plugin updates. Fatal errors can’t: switch back and tell the plugin’s author.

Going back is the same menu, the other way. Switching PHP doesn’t touch your content, so it’s one of the least scary updates you can do.

Quick answers

Will PHP 8.6 make my site faster? A little, for free, on some work. Caching (a page cache, an object cache) and lighter images will make a much bigger difference.

My host doesn’t offer PHP 8.6 yet. Should I worry? No. Hosts often add a new PHP version weeks after its release. What you should worry about is a host that only offers 8.2 or older in January.

Is it safe to update WordPress and PHP the same day? I’d rather not. Update WordPress to 7.2 first, live with it a few days, then change PHP. If something breaks, you’ll know which one did it.

What does WordPress itself need? WordPress 7.x runs on PHP 7.4 and up, so the minimum isn’t the question. Security is: 7.4 to 8.1 have had no PHP fixes for a while already.

I manage many sites. Where do I start? List them by PHP version and move everything on 8.2 or older first, before the end of the year. The 8.6 question can wait for 2027.

Sources: the PHP 8.6 release and supported versions pages, the WordPress core note WordPress and PHP 8.6, and the WordPress.org PHP statistics (26 November 2026).

Know which update matters for your site

If you work with an AI assistant (Claude, ChatGPT, Codex, Cursor…), connect it to Today WP ↗, a free server we made that knows what is true in WordPress today. Give it your WordPress and PHP versions and your plugins, and it tells you what to update first: core security releases, PHP versions about to lose their fixes, server-level flaws, and known vulnerabilities in the exact versions you run, refreshed every day. It’s read-only and needs no account. Add https://todaywp.com/mcp as a connector, then ask it: is my site safe?

Questions? Come talk about it on our Discord 🙂