PHP 8.2 reaches end of life on 31 December 2026: what to check on your website

The PHP team ends security support for PHP 8.2 on 31 December 2026, under six weeks from now. Your website will keep running on 1 January, but the team won’t fix flaws found in 8.2 after that date. If your site runs on 8.2 or older, move it to PHP 8.3 or newer. I’d pick PHP 8.4 for most sites: WordPress recommends it for new installs, and it gets security fixes until 31 December 2028.

PHP 8.2 end of life in practice

PHP is the programming language that WordPress, WooCommerce, Drupal, Joomla and almost every WordPress plugin are written in. It runs on your hosting company’s server, and you or your host set the version in the hosting control panel.

The PHP team gives each version two years of bug fixes, then two years of fixes for serious security problems only. PHP 8.2 came out on 8 December 2022, its bug fixes ended on 31 December 2024, and its security fixes end on 31 December 2026. The latest 8.2 release is 8.2.36, from 19 November 2026. After the end date, php.net lists the version as no longer supported and says its users “should upgrade as soon as possible”.

On 1 January your site will look the same. Over the following months, two things change:

  • The PHP team leaves security flaws found in 8.2 from 2027 onwards unfixed.
  • Plugin and theme makers drop support for 8.2, so their updates stop arriving or stop installing.

WordPress PHP versions: who this affects

Any site that runs on PHP: WordPress, WooCommerce, Drupal, Joomla and older custom PHP sites. If your site is on Shopify, Wix or Squarespace, those companies run the servers and you have no PHP version to change.

WordPress publishes which PHP versions its sites run. I checked its figures on 23 November 2026: about 22% of WordPress sites run PHP 8.2, and about 31% run older versions that the PHP team no longer supports, including about 14% on PHP 7.4 and about 9% on PHP 8.1. Unless those sites upgrade, about 53% of WordPress sites will run unsupported PHP from 1 January 2027.

WooCommerce has set dates for dropping old PHP versions. It plans version 11.6 for February 2027 and will require PHP 8.1 or newer from that release, with 11.5 as the last planned version for PHP 7.4 and 8.0. WooCommerce recommends PHP 8.3 or newer.

Which PHP version is my website on?

You can find out in three places, quickest first:

  • In WordPress: log in, go to Tools > Site Health, open the Info tab and expand Server. You’ll see the PHP version listed there.
  • In your hosting control panel: look for a setting called PHP version, PHP selector or MultiPHP. You’ll see the current version, and on most hosts you can change it from the same screen.
  • Ask your host: email their support with your website address and ask which PHP version it runs and whether they can move it to 8.4.

PHP 8.3 or 8.4: which version to upgrade to

WordPress recommends PHP 8.3 as a minimum. WordPress released version 7.1 on 19 August 2026; it is fully compatible with PHP 8.2, 8.3, 8.4 and 8.5, and recommends 8.4 or 8.5 for new installs.

Aim for PHP 8.4. If an older plugin won’t run on it, PHP 8.3 is a fair step and gives you one more year of security fixes than 8.2.

VersionBug fixesSecurity fixesNote
PHP 8.2Ended 31 December 2024End 31 December 2026The version this post is about
PHP 8.3Ended 31 December 2025Until 31 December 2027The minimum WordPress and WooCommerce recommend
PHP 8.4Until 31 December 2026Until 31 December 2028WordPress 7.1 recommends it for new installs
PHP 8.5Until 31 December 2027Until 31 December 2029WordPress 7.1 also recommends it for new installs
PHP 8.6Newest release, out 19 November 2026Until 31 December 2030Not in WordPress 7.1’s list of fully compatible versions

Update PHP on WordPress, step by step

You or your host can switch the version in a few clicks. Spend your time on the checks before and after, because an old theme or plugin can break on newer PHP.

  1. Back up the files and the database, and make sure you can restore them.
  2. Update WordPress, your theme and every plugin. Note any plugin with no updates in years, or a paid one whose licence has lapsed.
  3. Make a staging copy of the site. Many hosts offer this in the control panel.
  4. Switch the copy to PHP 8.4 and click through it. Fix or replace anything that breaks.
  5. Switch the live site and run the checks below on it. On most hosts you can switch back from the same screen.

While you update plugins, compare them with the versions in my post on the website vulnerabilities attackers used in 2026.

PHP on small business sites in North Wales

Across North Wales, trades, holiday parks, shops, cafés and guest houses often run a WordPress site on shared hosting that the owner hasn’t logged in to for years. The PHP version sits on the hosting account, between you, whoever built the site and your host, so it stays put until one of you asks.

If you run a seasonal business, use the quiet winter weeks to find out whether a booking plugin needs replacing, before spring enquiries start.

Checks to run on your website before 31 December.

Run these on the staging copy, then on the live site. If you’d rather not risk it, send me the address.

For email, backups and a recovery plan, see my cyber security checklist for small businesses.

Ask me to check your site
  • Find your PHP version under Tools > Site Health > Info > Server
  • Send a test message through each contact form and check it arrives
  • If you take bookings, make a test booking and check the confirmation email
  • If you run a shop, place a test order through checkout
  • Log in to the admin and edit a page, to check the editor works

Help from Vivaxo, if you need it

Many hosts let you change the PHP version in the control panel, or do it for free if you ask. If your site passes the checks on PHP 8.3 or 8.4, you have nothing to buy.

If you have no one looking after the site, Website Rescue is my maintenance plan for existing websites. For £25 a month after a £99 setup fee, I move the site to my managed hosting, apply updates with a backup first, keep daily backups and check your contact form every month, on a rolling monthly plan. If a theme or plugin won’t run on newer PHP, I quote for the fix before starting.

If the site is too old to be worth fixing, a Managed Website is a new site with hosting and care included, from £199 setup and £49 a month on a 12-month initial term. No VAT is currently charged. Vivaxo is not VAT registered.

Common questions about PHP 8.2 end of life.

Will my website stop working on 1 January 2027?

No. PHP 8.2 keeps running. The PHP team stops releasing security fixes for it, and plugin and theme makers drop support over the following months.

How do I know if my website uses PHP?

WordPress, WooCommerce, Drupal and Joomla all run on PHP. If you log in at an address ending in /wp-admin/, your site is WordPress. If you’re not sure, send me the address.

Can I skip straight to PHP 8.4 or 8.5?

Usually, yes. WordPress 7.1 is fully compatible with both. Expect any problems in older plugins and themes, so update everything first and test on a staging copy.

My host says they offer extended support for PHP 8.2. Is that enough?

It buys time. Ask your host what it covers, how long it lasts and whether it costs extra. Plugin makers will drop old versions regardless, as WooCommerce is doing for PHP 7.4 and 8.0, so plan the upgrade too.

What does it cost?

Often nothing, if your host switches the version for free and the site passes the checks. If a theme or plugin needs fixing, I quote before starting.

Send me your website address for a free initial check.

I’ll check what it runs on and whether anything looks out of date, and tell you what I’d do. It’s fine if you don’t have the logins to hand. Please don’t send passwords through the form.

Add business details or choose a plan (optional)

No mailing list, no pressure: I’ll only use your details to reply to this enquiry. Privacy policy

Personal reply from Matthew within 24 hours, seven days a week.

Sources

I took the dates, versions and percentages from these pages and checked them on 30 November 2026. WordPress gives no date for its version figures.