Websites

PHP 8.6 and your WordPress website: what changes and how to upgrade safely

Quick answer

PHP 8.6 comes out on 19 November 2026. WordPress itself is ready for it. The risk is in your plugins and theme, not in WordPress. If you run a business website, there is no rush: take a backup, update everything, test on a copy of your site, and switch only when your important plugins say they support PHP 8.6.

PHP 8.6 at a glance: the release date, whether WordPress is ready, and our advice.
Release date19 November 2026
Is WordPress ready?Yes. All known problems in WordPress itself are fixed
Main riskOlder plugins and themes
Lowest PHP WordPress accepts7.4
Safest choice todayPHP 8.4 or 8.5
Our adviceBack up, test on a copy, then upgrade when your plugins are ready

Maybe your hosting company sent you an email about it. Maybe WordPress showed you a yellow warning that says your site is running an old PHP version. Either way, you are now wondering: what is PHP, do I need to do something, and will my website break if I do?

Here is the short version. PHP is the engine your WordPress website runs on. You never see it, but every time someone opens your website, PHP builds the page. A new version of that engine comes out every year. PHP 8.6 is this year’s.

This guide explains what changes, whether your site is ready, and exactly how to upgrade without losing a single enquiry.

What is PHP 8.6, and when does it come out?

PHP 8.6 is the newest version of PHP, the language WordPress is built with. It comes out on 19 November 2026, after months of testing.

Think of PHP versions like phone software. Each version gets fixes for a few years. For PHP, that is about two years of bug fixes, then about two years of security fixes only. You can see every version’s end date on PHP’s supported versions page. After that, nobody fixes it any more, even if a security hole is found.

That is the real reason your host keeps asking you to update. A website on an old PHP version is like a phone that stopped getting updates years ago. It still works, until the day it does not.

First, check which PHP version you are on today

You need this before anything else. There are two easy ways:

  • Inside WordPress: go to Tools → Site Health → Info, open the Server section, and look for PHP version.
  • In your hosting panel: in cPanel, open MultiPHP Manager or Select PHP Version. Other hosting panels have a similar page, usually under “PHP” or “Software”.

Now find your version in this table:

Find your current PHP version, what it means and what to do next.
Your PHP versionWhat it meansWhat to do
7.4, 8.0 or 8.1Old. These no longer get security fixes, even though WordPress still accepts 7.4Upgrade soon, to 8.4 or 8.5
8.2Its security fixes end at the end of 2026Upgrade in the next few weeks
8.3Fine for now, but getting olderPlan an upgrade in the coming months
8.4 or 8.5Good. Fully supported by WordPress todayNothing urgent. Move to 8.6 later
8.6The newestMake sure your plugins support it

What does the Site Health warning mean?

WordPress has a built-in health check at Tools → Site Health. If your PHP version is old, it shows a message such as “Your site is running an outdated version of PHP”.

This is not an emergency, and it does not mean your site is hacked. It is a reminder, the way your car shows a “service due” light. Ignore it for a week and nothing happens. Ignore it for two years and you are taking a real risk.

What is new in PHP 8.6, in simple words

Most of the changes are for the people who build plugins and themes. You will not see them on your website directly. But here is what they bring you:

What is new in PHP 8.6, what it does and why it helps a website owner.
What changedWhat it doesWhy it is good for you
Faster common tasksSeveral everyday operations run quickerYour site may feel a little faster. How much depends on your plugins
Safer login settings on new serversLogin cookies get stricter protection by defaultA bit more safety for anyone who logs in to your site
Clearer error messagesWhen data from another service is broken, PHP now says exactly whereProblems with forms, payments or connected apps get fixed faster
New tools for developersShorter ways to write common code, plus a proper way to handle time durationsNewer plugins become cleaner and have fewer small bugs

The WordPress team counted 15 new enums, 17 new functions, 24 new classes and 47 new constants in this release. You do not need to know what those are. It simply means PHP 8.6 is a big, healthy update, not a small patch.

What is going away, and why it matters

Every new PHP version also marks some old features as “deprecated”. That word sounds scary, but it only means: this still works, but it will be removed in a future version, so please stop using it.

In PHP 8.6, 26 functions and 2 constants are deprecated. A few older parts are removed completely: 2 extensions, 15 functions and 2 classes.

Why should you care? Because plugins still use some of these old features, and a lot of them. The WordPress team searched the plugin directory and found:

  • one old function (spl_object_hash) in 2,359 plugins
  • another (is_long) in 2,258 plugins

In most cases, this only creates warning messages in a log file that nobody reads. Your website keeps working. But a poorly maintained plugin can turn a warning into a real problem. That is why we test first.

Is WordPress ready for PHP 8.6?

WordPress itself: yes. The WordPress team added PHP 8.6 to their automatic tests while building WordPress 7.2. Since 10 November 2026, those tests are not allowed to fail. The team says every known problem in WordPress itself has been fixed.

The official list is not updated yet. WordPress keeps a public table of which PHP versions it supports. When it was last updated on 4 November 2026, PHP 8.5 was on it, but PHP 8.6 was not yet. Expect it to be added after PHP 8.6 is released and more widely tested.

Your plugins and theme: you have to check. This is the part that decides whether your upgrade is smooth. WordPress can be perfectly ready while one old plugin on your site is not. The WordPress team expects “mostly deprecation notices”, which means mostly harmless warnings. Mostly is good news, but it is not a promise.

One more thing: WordPress needs PHP 7.4 or newer. And very old WordPress versions are never tested with new PHP. So always update WordPress first, then PHP.

So, should you upgrade now?

Here is our honest advice for a business website:

  • Do not switch on release day. Give plugin makers a few weeks to catch up. Waiting costs you nothing. A broken contact form costs you enquiries.
  • If you are on PHP 7.4, 8.0, 8.1 or 8.2, act now, but move to 8.4 or 8.5, not 8.6. WordPress fully supports both today.
  • If you are on 8.4 or 8.5, relax. Plan the move to 8.6 once your host offers it and your key plugins say they are ready.

What to ask your hosting company

Send them these four questions. A good host will answer in a day:

  1. Which PHP version is my website on right now?
  2. When will PHP 8.6 be available on my plan?
  3. Can I switch the PHP version myself, and switch back if needed?
  4. Do I have a staging copy option, so I can test before changing the live site?

If your host cannot answer these, or cannot give you a staging copy, that tells you something about your host too.

How to upgrade PHP safely: step by step

Follow these steps whether you move to 8.4, 8.5 or 8.6. Do not skip the first one.

  1. Take a full backup. Both the files and the database. Then make sure you know how to restore it. A backup you have never tested is only a hope.
  2. Update WordPress first. Then your theme, then every plugin. Newer versions are the ones most likely to work with new PHP.
  3. Delete plugins you do not use. Deactivated plugins still sit on your server. Fewer plugins means fewer surprises.
  4. Check your important plugins. On each plugin’s page, look for “Tested up to” and any note about PHP 8.6. Focus on plugins that take payments, run forms, handle bookings or manage logins.
  5. Make a staging copy. This is a private copy of your website for testing. Many hosts offer it with one click.
  6. Change PHP on the copy first. Use the same place where you checked your version: MultiPHP Manager or Select PHP Version.
  7. Test the copy properly. Use the checklist in the next section.
  8. Look at the error log. Your host’s panel usually has one. A few warnings are normal. Note which plugin they mention.
  9. Change PHP on the live website. Choose a quiet time. Not during a sale, a festival offer or a big campaign.
  10. Keep an eye on it for a week. Check that enquiries and orders still arrive. If anything feels wrong, switch back. It takes one minute, in the same setting.

What to test after the switch

Do not just open the home page and call it done. Test the things that bring you business:

  • Fill in your contact form and check the email actually arrives
  • Tap your WhatsApp and call buttons on a phone
  • Place a test order, if you sell online, and check the confirmation email
  • Make a test booking, if you take appointments
  • Log in and log out of the WordPress dashboard
  • Open your 5 most important pages on a phone and on a computer
  • Search for something on your own site, if it has a search box
  • Check that your Google Maps, YouTube videos and image galleries still show

If all of this works, your upgrade is done.

If something breaks

Stay calm. Do not start deleting plugins in a panic.

First, switch PHP back to the version you were on. That puts your site back exactly as it was, in about a minute. Then find out what went wrong, calmly, on the staging copy.

Here is what the common signs usually mean:

Common signs after a PHP change, what they usually mean and what to do.
What you seeWhat it usually meansWhat to do
“There has been a critical error on this website”A plugin or theme is not compatibleSwitch PHP back. WordPress usually emails the site admin a special login link that shows which plugin caused it
A completely white pageThe same kind of problem, without the messageSwitch PHP back, then check the error log
The site works but feels slowA plugin is struggling, or the cache needs clearingClear your cache plugin and your host’s cache, then check again
Lots of “Deprecated” lines in the error logOld code that still works for nowNot urgent. Update the plugin, or ask its maker for a fix

If a plugin or theme was custom-built years ago and the developer has moved on, it may need a small code fix. That is normal for older websites, and it is usually a quick job for someone who knows WordPress. If you need to find someone new, our guide on how to choose a website developer lists what to check.

How we handle a PHP upgrade for our clients

When we look after a client’s WordPress website, we never change PHP straight on the live site. We follow the same steps you just read:

  • We take a backup and keep it until the new version has run smoothly for a week.
  • We update WordPress, the theme and the plugins first, and remove the ones nobody uses.
  • We switch PHP on a staging copy and test the contact form, WhatsApp button, orders and bookings, the way a customer would.
  • We read the error log and fix or replace any plugin that complains.
  • Only then do we switch the live website, at a quiet time, and watch enquiries for the next few days.

It is not clever work. It is careful work. And it is the difference between an upgrade nobody notices and a Monday morning with no enquiries.

Want someone to handle it for you?

You run a business. Testing PHP versions is probably not how you want to spend your evening.

This is exactly what a website maintenance plan is for: backups, updates, testing on a staging copy, and switching PHP only when your site is ready. See our WordPress development page, or read about our website maintenance (AMC) plans.

Still deciding whether WordPress is right for your business at all? Our guide to WordPress vs a custom website explains the trade-offs in plain English. Or simply tell us about your website and we will check which PHP version it runs and what it needs.

For developers: the quick version

If you build or maintain WordPress sites, here is what to look at first:

  • New: partial function application (str_replace(' ', '-', ?) returns a closure), clamp(101, min: 0, max: 100) returns 100, a TimeDuration class, a SortDirection enum, the IoPoll API, stream error handling with error_mode, default values for readonly properties, and #[Override] on class constants.
  • Deprecated, audit these: is_integer(), is_long(), is_double(), doubleval(), spl_object_hash() (use spl_object_id()), mb_ereg(), mb_ereg_replace(), mb_split(), returning from a finally block, a third argument to define(), and returning a value from __construct() or __destruct().
  • Changed defaults on new installs: session.use_strict_mode = 1, session.cookie_httponly = 1, session.cookie_samesite = Lax. Existing php.ini files keep their settings.
  • Small behaviour change: trim() and its sister functions now also remove the form-feed character by default.

Facts checked on 19 November 2026 against the WordPress Developer Blog, WordPress’s PHP compatibility table and PHP’s supported versions page. PHP and WordPress change often; we will update this guide when they do.

Common questions

PHP 8.6 comes out on 19 November 2026. Your hosting company adds it to your hosting panel after that. When exactly depends on your host, so ask them.

WordPress itself is ready. Its team says every known problem in WordPress has been fixed, and its automatic tests must pass on PHP 8.6. Your plugins and theme are a separate question, so check each one before you switch.

In WordPress, go to Tools, then Site Health, then Info, and open the Server section. Or look in your hosting panel, under MultiPHP Manager or Select PHP Version.

Usually not, but it can if an old plugin or theme uses something PHP has changed. That is why you back up first, test on a staging copy and keep the option to switch back. Most problems show up as harmless warnings, not as a broken site.

No. What matters is that you are on a version that still gets security fixes. If you are on PHP 7.4, 8.0, 8.1 or 8.2, move to 8.4 or 8.5 now, and plan PHP 8.6 for when your plugins support it.

Dixit Pujara

Founder, Harivar Labs · Ahmedabad

Dixit spent 12 years leading software projects at scale before Harivar Labs, where he leads website, e-commerce and Local SEO delivery for MSMEs across Ahmedabad and Gujarat. More about Dixit

Let’s talk growth

Want this working for your business?

Get a clear, honest plan for growing online - free, and with zero obligation.