Web Design

Your WordPress PHP Version Has an Expiry Date – Don't Ignore It

Check your WordPress PHP version before security fixes stop, and update it safely. If your site won't move, tell us about your project.

Your WordPress PHP Version Has an Expiry Date – Don't Ignore It

If your WordPress PHP version is 8.2, it stops receiving security fixes on 31 December 2026. Your website won't suddenly stop working when the clock strikes midnight, but continuing to use an unsupported version could expose your business to security risks.

We design and build WordPress websites ourselves, as one team based in Leicestershire. If you're concerned about outdated code or whether your website can handle an upgrade, tell us about your project.

This guide explains how to check your PHP version, choose a supported release and update it safely, particularly when your business relies on its website for enquiries, bookings or sales.

What Is PHP and Why Does Your WordPress PHP Version Matter?

PHP is the programming language that WordPress runs on. Think of it as the engine under your website's bonnet. Your customers don't see it, but your website depends on it.

Each version has a limited support period. Once that period ends, security fixes stop.

Why Your Hosting Provider Controls Your PHP Version

Unlike updating a plugin through your WordPress dashboard, changing PHP happens at hosting level.

Your hosting provider controls which versions are available. You'll need to access your hosting control panel or ask your provider to make the change.

What Happens When Your PHP Version Loses Security Support?

Each PHP branch goes through three stages:

  • Active support: Two years of bug fixes and security updates.
  • Security support: Two further years of security fixes only.
  • End of life: Security fixes stop.

Your website may look and work exactly as it did before. That's what makes outdated PHP easy to overlook.

However, just because your website works doesn't mean the software behind it is still safe to use.

How to Check Which PHP Version Your WordPress Website Is Running

Before worrying about an upgrade, find out which version your website currently uses. You might already be on a supported release.

Find Your PHP Version Using WordPress Site Health

You don't need to install an additional plugin.

  1. Log in to your WordPress dashboard.
  2. Go to Tools > Site Health.
  3. Select the Info tab.
  4. Expand the Server section.
  5. Find the PHP version.

Make a note of the number and compare it with the security support dates below.

What the PHP Update Required and PHP Update Recommended Warnings Mean

WordPress may display one of two warnings:

  • PHP Update Required: Prioritise checking and updating your current version.
  • PHP Update Recommended: WordPress advises moving to a newer release.

It's tempting to dismiss these messages when you've got a business to run. However, they're worth paying attention to.

Before making any changes, check whether your website is compatible with the newer version.

Check Your PHP Version Through Your Hosting Control Panel

Log in to your hosting account and look for PHP Settings, Select PHP Version or MultiPHP Manager.

If you manage several websites, make sure you've selected the correct domain. Confirm the version through Site Health afterwards.

Which PHP Version Should WordPress Use in 2026?

WordPress recommends PHP 8.3 or higher. However, the right choice depends on whether your theme, plugins and custom code can run on your chosen version.

WordPress Recommended PHP Version: PHP 8.3 or Higher

WordPress's own requirements page (wordpress.org) recommends PHP 8.3 or greater.

PHP 8.4 and 8.5 offer longer security support periods. If you're already arranging an upgrade, consider whether moving to one of these versions makes commercial sense.

PHP 8.2 vs 8.3 vs 8.4 vs 8.5: Security Support Dates

PHP versionSecurity support ends
PHP 8.231 December 2026
PHP 8.331 December 2027
PHP 8.431 December 2028
PHP 8.531 December 2029

Source: the official PHP supported versions page (php.net).

Still running PHP 8.2? Arrange an upgrade before the end of December 2026.

Why WordPress Still Runs on PHP 7.4 but Your Website Shouldn't

WordPress can still run on PHP 7.4, despite this version having reached end of life.

There's a difference between what WordPress can run on and what it recommends.

If someone tells you that your website needs PHP 7.4 to work, ask them one question: What's stopping us from upgrading?

That's the problem worth solving.

WordPress PHP Compatibility: What to Check Before You Update

WordPress PHP compatibility means checking your entire website, not just WordPress itself.

Imagine updating PHP on Friday afternoon, only to discover that your quote form has stopped working. A few sensible checks beforehand can help you avoid that conversation on Monday morning.

Take a Full Backup of Your Website and Database

Create a full backup before making any changes. Include your website files, database, themes, plugins, uploaded images and custom code.

Make sure you know how to restore everything. A backup isn't much comfort if nobody knows how to use it.

Update WordPress Core, Your Theme and Plugins

Check for outstanding updates to WordPress, your theme and plugins.

Where possible, carry out these updates on a staging copy first. Test your website before moving on to PHP.

Avoid making several untested changes to your live website at once.

Check for Abandoned Plugins and Unsupported Themes

Before upgrading, ask:

  • Are your plugins and theme actively maintained?
  • Do they support your intended PHP version?
  • Does your website contain outdated custom code?
  • Are you relying on an abandoned WordPress plugin for an important business feature?

Investigate anything that raises concerns before proceeding.

Create a Staging Site Before Making Changes

A staging site is a separate copy of your website where you can test changes without affecting your customers.

Think of it as a dress rehearsal. Use it to update PHP, investigate errors and check important features before making changes to your live website.

If your hosting provider offers staging, use it.

How to Update PHP on WordPress Without Disrupting Your Business

To update PHP in WordPress, change the version through your hosting control panel or ask your hosting provider. Test the upgrade on staging before applying it to your live website.

Update PHP Through cPanel or Your Host's Control Panel

If your hosting provider uses cPanel, follow these general steps:

  1. Log in to cPanel.
  2. Look for MultiPHP Manager or Select PHP Version.
  3. Select your staging website.
  4. Choose your intended PHP version.
  5. Apply the changes.
  6. Confirm the new version through WordPress Site Health.

The exact menu names and options depend on your hosting provider.

How to Update PHP in WordPress Without cPanel

Look for PHP settings within your hosting control panel.

If you can't find them, ask your provider to change the version on your staging site.

While you're speaking to them, confirm whether the previous version will remain available if you need to roll back.

Test, Switch Your Live Site and Check Forms, Checkout and Admin

Your homepage loads. Brilliant. But that doesn't mean the job is finished.

Test the features your business depends on:

  • Contact forms and quote requests.
  • Checkout and payment processes.
  • Customer accounts and bookings.
  • WordPress admin and content editing.
  • Custom features and integrations.
  • Important pages on desktop and mobile.

Once you're satisfied with the staging site, arrange the live update during a quieter business period.

Repeat your checks afterwards, including confirming the new PHP version through Site Health.

How to Roll Back to Your Previous PHP Version

If your WordPress PHP update causes problems, return to your hosting control panel and select the previous version, provided it's still available.

Contact your hosting provider if you can't make the change yourself.

Rolling back gives you time to investigate the problem. It isn't a permanent solution if the previous version has reached end of life.

WordPress PHP Update Gone Wrong? Here's What to Do

If your website stops working after a PHP upgrade, focus on restoring normal business operations first. You can then investigate the underlying compatibility problem on staging.

Fixing a Critical Error or White Screen

If you encounter a critical error or white screen after updating PHP, try rolling back to the previous version.

Check whether your website returns to normal. If it does, reproduce the problem on staging so your developer can investigate.

If rolling back doesn't help, review your other recent changes and follow your backup recovery plan if necessary.

Use WP_DEBUG and the Error Log on Staging

Rather than guessing which plugin or theme is causing the problem, ask your developer to use `WP_DEBUG` and the error log on staging.

Ask them to check for deprecated functions, outdated custom code and compatibility errors.

Deprecated code may need replacing as part of an upgrade. Keep this investigation away from your public-facing website.

When an Old Theme, Page Builder or Abandoned Plugin Won't Run: Patch, Replace or Rebuild

Sometimes the PHP upgrade isn't the real problem. It's the ageing code underneath your website.

If a component prevents your website from running on PHP 8.3, consider three options:

  • Patch: Fix a small issue in otherwise well-maintained code.
  • Replace: Remove an abandoned plugin or unsupported feature and replace it with a suitable alternative.
  • Rebuild: Consider custom development when an outdated theme or page builder causes wider compatibility problems.

We build custom-coded WordPress themes rather than relying on page builders. We want to avoid heavy code, features breaking with updates and being locked into a particular platform.

If you're repeatedly paying someone to patch an ageing page builder, ask yourself whether you're solving the problem or simply buying more time.

Replacing an unsupported component or rebuilding the website properly may be a better use of your money.

Staying on unsupported PHP isn't the answer.

Rather Have It Done for You?

You've got a business to run. Spending your afternoon reading PHP error logs probably wasn't on your to-do list.

Our WordPress development team can investigate compatibility problems and help you understand what needs fixing, replacing or rebuilding.

If an outdated plugin is holding your website back, we can also look at custom WordPress plugin development.

We're one team based in Leicestershire, designing and building websites ourselves for businesses across the UK.

If you're considering a new WordPress website or need to replace outdated code, tell us about your project and what your business needs from its website.

Share this article

Questions

Start a project
Is PHP 8.3 stable for WordPress?

PHP 8.3 meets WordPress's official recommended requirements and receives security fixes until 31 December 2027. Test your theme, plugins and custom code before upgrading.

Is PHP 8.4 safe for WordPress?

PHP 8.4 meets WordPress's recommended requirements and receives security fixes until 31 December 2028. Whether your website is ready for it depends on compatibility. Test it on staging before switching.

My host is moving us from PHP 8.2 to 8.3, will my site break?

Not necessarily. Ask your hosting provider when the change is happening, test PHP 8.3 on staging and arrange a full backup. Confirm that you have a way to roll back if something goes wrong.

Can I go back to the old PHP version if it breaks?

Yes, provided your hosting provider still offers the previous version. Use this as a temporary recovery measure while resolving the compatibility problem.

Is an old theme that won't run on PHP 8 worth fixing, or should we rebuild?

A small compatibility issue in an otherwise maintained theme may be worth fixing. However, if your theme is abandoned, relies on an outdated page builder or needs repeated repairs, consider a custom rebuild instead. There's little value in continually spending money keeping outdated technology on life support.

Start a project

Want us to do this for you?

Tell us what you need and we'll come back with a plan and a fixed price agreed in writing before we start.

Ready to talk about your project?

Web design, SEO, PPC, Facebook ads and bespoke software from one UK team.