After a change · Fix guide

WordPress says my PHP version is out of date. What should I do?

PHP is the language WordPress runs on, and your host decides which version your site uses. Old versions stop getting security fixes, and WordPress, plugins and themes eventually stop supporting them. Upgrading is worth doing, but it needs a little care.

Site down right now? Call us 0191 580 4040 Mon-Fri, 9am-5:30pm
Not urgent? Contact us

What this usually means

You may see a warning in Site Health, or messages beginning “Deprecated” or “Warning” on your pages. They aren’t the same thing.

  • Out-of-date PHP: your version no longer gets security updates
  • Deprecated notices: old code that still works, but will stop working in a later version
  • Fatal errors after a change: the version is now too old or too new for a plugin or theme
  • Notices showing to visitors: a setting that should hide errors isn’t set

Steps to fix it

  1. Take a backup first

    Files and database.

  2. Check compatibility

    Look at your plugins and theme for the PHP versions they support, and update them first. A compatibility checker plugin can help.

  3. Test on a copy

    Switch a staging copy to the newer PHP version and click through the key pages, forms and checkout.

  4. Change it on the live site

    In your hosting panel, then test again. If something breaks, switch back and note which plugin or theme is the cause.

When to get help

Old themes or abandoned plugins sometimes can’t run on a modern version. If you’re in that position, send us the details. We can test, patch or replace what’s holding you back.

Send us the details

Frequently asked questions

Which PHP version should I use?

One that still receives security support. Check php.net’s supported versions page, and your host’s options.

Why did my site break when my host upgraded PHP?

Some host upgrades happen automatically. A plugin or theme that doesn’t support the new version can crash.

Are deprecated notices a problem?

Not immediately, but they warn of trouble to come. Fix them before the next upgrade.

Call us Get in touch