Opens in a new tab

PHP 8.2 End of Life: What WordPress Site Owners Should Do

10th September 2026

WordPress dashboard and server controls illustrating a PHP 8.2 upgrade before end of life

If your WordPress website is running PHP 8.2, it needs an upgrade plan before the end of 2026. PHP 8.2 reaches end of life on 31 December 2026, after which it will no longer receive official security updates.

You do not need to change it immediately without preparation. However, you should check your current version now, arrange a tested upgrade and avoid leaving the work until the final few days of December.

For most site owners, the sensible destination will be PHP 8.3 or a newer version supported by their host, WordPress installation, plugins and theme. The important part is to test the complete website rather than assuming that a successful homepage load means everything is compatible.

What does PHP 8.2 end of life mean?

PHP is the server-side programming language on which WordPress is built. WordPress core, themes and plugins all rely on it to generate pages, process forms, handle logins and perform many background tasks.

Each PHP branch moves through a defined support cycle. PHP 8.2 is already in its security-only phase and, according to the official PHP support timetable, that support ends on 31 December 2026.

End of life does not mean a website will suddenly stop working at midnight. It means newly discovered problems in PHP 8.2 may no longer receive official fixes. Continuing to use it therefore creates a growing security and compatibility risk.

Your hosting provider may eventually remove PHP 8.2, charge for extended support or move sites to a newer version. Planning the change yourself gives you more control over when it happens and how thoroughly the site is checked.

Does WordPress support newer PHP versions?

Yes. The current WordPress hosting requirements recommend PHP 8.3 or greater. The official WordPress PHP compatibility table also lists WordPress 7.1 as compatible with PHP 8.2, 8.3, 8.4 and 8.5.

That does not automatically confirm that every component of your particular site is ready. An old plugin, an abandoned theme or bespoke PHP code may use functions that have changed or been removed in a newer version.

Start by bringing WordPress core up to date and reviewing what changed in WordPress 7.1. You should then check the compatibility of the theme, plugins and custom functionality before changing the server environment.

How to check which PHP version your WordPress site uses

You can normally find the version without installing another plugin:

  1. Sign in to the WordPress dashboard.
  2. Go to Tools > Site Health.
  3. Select the Info tab.
  4. Open the Server section.
  5. Find the entry labelled PHP version.

The WordPress Site Health documentation explains the information available on this screen. You can also check your hosting control panel or ask your provider to confirm the PHP version assigned to the website.

If the site uses PHP 8.1, 8.0 or 7.4, it is already on an unsupported PHP branch and the upgrade deserves more urgent attention. A larger version jump can also expose more compatibility problems, making controlled testing particularly important.

Which PHP version should you choose?

There is no single answer for every WordPress website. The best target is a currently supported release that works with your host and has been tested with your complete site.

PHP 8.3 meets WordPress’s current recommendation and receives security support until the end of 2027. PHP 8.4 and 8.5 have longer remaining support periods, but newer is not automatically safer for an individual website if an important plugin or custom integration has not been tested with it.

Ask your host which versions it supports, then confirm that actively maintained plugins and themes declare compatibility. On an older or heavily customised website, a developer should review the code and logs rather than relying solely on product descriptions.

How to upgrade PHP without breaking WordPress

1. Record the current setup

Note the existing PHP version, WordPress version, active theme and active plugins. Take screenshots or export the Site Health information so that you have a reference if troubleshooting is required.

2. Update WordPress, plugins and themes

Outdated components are more likely to contain code that is incompatible with newer PHP releases. Apply available updates carefully and check the website after each group of changes. Our guide to updating WordPress safely covers the essential preparation.

3. Create a complete backup

Back up both the website files and database. Confirm where the backup is stored and how the site would be restored. A backup that cannot be located or restored is not a dependable recovery plan.

4. Test the change away from the live site

Use a staging copy wherever possible. Change the PHP version there first, then review the front end, dashboard and important business functions.

Look beyond the homepage. Your test should include:

  • Contact, quote and newsletter forms
  • WordPress login and password reset
  • Page builders and editing tools
  • Search, menus and filtered content
  • WooCommerce basket, checkout and customer accounts
  • Payment, delivery and tax integrations
  • Scheduled tasks, emails and automated feeds
  • Memberships, bookings or other specialist features

5. Change PHP through the hosting account

PHP is usually selected in your hosting control panel. The wording varies, but it may appear under PHP settings, server settings or a multi-PHP manager. If you cannot find it, ask the hosting provider to make the change.

Do not remove the previous version from the server immediately. Keeping a quick rollback option can reduce downtime if an unexpected incompatibility appears.

6. Check the live website and error logs

Repeat the important tests after changing the live environment. Check pages while signed in and signed out, submit real test forms and verify that emails arrive.

Some PHP problems appear only during background jobs or less frequently used actions. Monitor the server and WordPress error logs after the change rather than treating the first successful page load as the end of the job.

What if the website breaks after the PHP upgrade?

Common symptoms include a blank page, a critical error message, broken administration screens, failed forms or parts of a layout disappearing.

If this happens, switch back to the previous PHP version where possible. That restores the former environment while you identify the incompatible plugin, theme or custom code. Avoid repeatedly disabling components on a busy live site without first recording what has changed.

If your business website has bespoke features, WooCommerce transactions or no reliable rollback process, professional testing is usually safer than trial and error. ThriveWP provides WordPress support and troubleshooting for updates, compatibility problems and one-off fixes.

Do not wait until December

The PHP 8.2 deadline is still several months away, but that time is useful. It gives you an opportunity to replace abandoned plugins, update old custom code, test a newer PHP version and deal with hosting limitations before the change becomes urgent.

A well-managed PHP upgrade should be a controlled maintenance task, not an emergency. Check your version now and schedule the work before 31 December 2026.

Need help preparing your WordPress website?

If you are unsure whether your theme, plugins or custom features will work with a newer PHP version, Talk To Us. ThriveWP can help you review the site, test the upgrade and investigate compatibility errors.

You can also join the ThriveWP newsletter and download the free site-care guide for practical advice on keeping your WordPress website secure, updated and reliable.

Need help with WordPress?

Start a care plan
wordpress developers

Gavin Pedley

Gavin is the guy behind the award-winning ThriveWP. He has over 18 years of experience creating, developing, hosting and managing WordPress websites.

Gavin regularly shares his expertise via the ThriveWP blog and Youtube channel, where he creates informative and helpful WordPress tutorial videos.

Connect with Gavin on Facebook, Linkedin or Twitter.

Share this article

Subscribe to receive articles right in your inbox

Get Your Free Guide On Keeping Your WordPress Website Safe

Subscribe to learn how to keep your WordPress website safe, starting with this free guide. Unsubscribe with one click at any time.

We hate SPAM and promise to keep your email address safe. Here’s our privacy policy.

SEND ME MY FREE EBOOKS!​

Three amazing products that will enhance your website performance, ranking and maximise your income! Our eBook offer includes three eBooks in one bundle.

We hate SPAM and promise to keep your email address safe. Here’s our privacy policy.