Which PHP Version Should Your WordPress Hosting Use?

Ammar Sohail 4 min read
Which PHP Version Should Your WordPress Hosting Use?
In this post
  1. What does WordPress hosting need to offer?
  2. How do you find out which PHP version your site uses?
  3. Why does the PHP version matter?
  4. Should you upgrade PHP yourself?
  5. What should you ask a host before buying?
  6. What happens if your host will not offer a current version?
  7. Is cheap shared hosting good enough?
  8. Who should hold the hosting account?

For WordPress hosting, ask your host for PHP 8.3 or newer, MariaDB 10.6 or newer (or MySQL 8.0 or newer), and HTTPS. Those are the recommendations on WordPress.org at the time of writing. If your hosting plan cannot meet them, you are likely running software that no longer gets security fixes. This guide shows UK small businesses how to check, and what to ask before you pay for a plan.

What does WordPress hosting need to offer?

WordPress.org publishes the official WordPress requirements. They list the recommended server software and say WordPress will still run on older versions, but those versions have reached end of life and upgrading is strongly recommended. Versions change, so always check the page rather than trusting an old blog post, including this one.

ItemRecommended by WordPress.org
PHP8.3 or greater
DatabaseMariaDB 10.6 or greater, or MySQL 8.0 or greater
ConnectionHTTPS support

How do you find out which PHP version your site uses?

There are three simple routes:

  • In WordPress, go to Tools, then Site Health, then the Info tab, and open the Server section. It lists PHP and database versions.
  • Log in to your hosting control panel. Most hosts show the PHP version and let you switch it.
  • Ask your host's support team, in writing, and keep the reply.

If you pay an agency to look after the site, ask them to confirm the versions and tell you when they last changed them.

Why does the PHP version matter?

Old PHP versions stop receiving security updates once they reach end of life. A site on an unsupported version carries risk that no plugin fully removes. Newer versions are also generally faster, which helps visitors and keeps your site responsive.

If you are unsure whether your version is still supported, ask your host directly which PHP versions they currently offer and which they plan to retire. A good host will answer without fuss and give notice before removing old versions.

Should you upgrade PHP yourself?

Not without a safety net. Changing the PHP version can break an old theme or plugin that was never updated. A cautious process looks like this:

  1. Take a full backup of the files and the database. Our guide on how often to back up a WordPress website covers this.
  2. Update WordPress, your theme and every plugin first.
  3. Copy the site to a staging area if your host offers one, and switch the PHP version there.
  4. Click through key pages: the homepage, forms, checkout if you sell online, and the login.
  5. Switch the live site only when the staging copy works, and keep the backup to hand.

If a plugin breaks on the newer version, check whether the developer has released an update. If the plugin is abandoned, replace it. Staying on an old PHP version to keep an abandoned plugin is a poor trade.

What should you ask a host before buying?

  • Which PHP versions can I choose, and can I switch them myself?
  • Is there a free SSL certificate, and does it renew automatically?
  • How are backups handled, how often, and how do I restore one?
  • Can I get a staging copy to test updates?
  • Where is the server located? UK visitors usually benefit from a UK or nearby European location, though a content delivery network can reduce the gap.

Be wary of any host that will not tell you these answers plainly before you pay.

What happens if your host will not offer a current version?

Move to one that does. Staying on an old version because switching feels like effort is how small sites end up hacked or broken. Plan the move carefully, take backups first, and keep the old account open until the new site is tested and live.

Is cheap shared hosting good enough?

It can be, for a small brochure site with modest traffic, provided it offers current PHP versions and decent support. It becomes a problem if the host runs outdated software, limits what you can change or slows down at busy times. A busy online shop usually needs more resources than a five-page brochure site.

Who should hold the hosting account?

You should, or at least you should have full access to it. Read our post on who should own your domain name, because the same logic applies to hosting. If the account is in an agency's name and the relationship ends, getting your site back can become difficult.

If you want someone to check your hosting and handle the upgrade safely, our WordPress development team can do it, and you can contact us to ask.

Common questions

Will upgrading PHP delete my content?

No, your content lives in the database and files. But an old plugin or theme may stop working, which is why you should back up and test first.

Can my host stop me changing PHP?

Some hosts lock the version. Ask before you buy whether you can choose and switch versions yourself.

You might also like