How-To Update PHP in WordPress

How-To Update PHP in WordPress

How-To Update PHP in WordPress

Updating your PHP version in WordPress can feel daunting, but if you have cPanel access through your hosting provider, and they do not provide PHP updates for you, use these step-by-step instructions to check your current version of PHP, and update it if needed. With cPanel access, it takes just a few clicks to make the update, but first, be sure to check with your current hosting provider as most of them provide PHP updates automatically.

Why should you keep your PHP updated in WordPress? Security. Newer versions of PHP fill in vulnerabilities that hackers may use to exploit your site and gain access to user data and control. Newer versions of PHP also have fewer bugs and run your website’s scripts more quickly, which will in and of itself improve not only the speed of your WordPress website, but the overall user experience as well.

How-To check your current PHP version

To find out what version of PHP your WordPress site is using, first you’ll want to find out what the most current version of PHP is. You can find that out here. *Note, you want to update your site only to the most current stable version of PHP. Once you’ve identified what version of PHP your WordPress site should be running, you can move on to finding out what version you are currently using.

1) Log into your Web Hosting Account’s Control Panel “cPanel”

2) Go to “Software”

3) Click “MultiPHP Manager”

*At the top of the page in “MultiPHP Manager” (see below) you will see the current PHP version running on your website.

Check PHP Version on WordPress

Don’t want to update your own PHP? We’ll do it for you!

Included in all our hosting plans.

Updating Your PHP Version in WordPress

Once you’ve determined you need to update your PHP version to the current, stable version, it is fairly simple. Because most WordPress website owners usually have some kind of self-hosting plan through a web hosting provider and because most web hosting providers use cPanel dashboards for their web hosting clients, we will explain how to update your PHP version through cPanel.

Follow these steps to update your PHP –

1) Login to your hosting provider and navigate to your cPanel

2) Under cPanel, access MultiPHP Manager

3) Scroll down and view the domain(s) you want to update PHP for

Update PHP Version

Next Steps –

1) Select the latest version of PHP your hosting provider supports

2) Check the box next to the domain(s) you want to update

3) Click the Apply button and make sure you see the Success message

Updating PHP Success

Congrats! You’ve just updated your PHP and increased your site security!

Which PHP version should my WordPress site use?2026-10-25T17:15:48+00:00

Use the newest PHP version that WordPress recommends and that your hosting provider offers. You can see the current recommendation on the WordPress requirements page.

Avoid versions that are no longer supported. They stop getting security fixes, which is the main reason to update in the first place.

Can I check my PHP version without cPanel?2026-10-25T17:15:50+00:00

Yes. You can check it from inside your WordPress dashboard –

  1. Go to Tools > Site Health.
  2. Click the Info tab.
  3. Open the Server section to see the PHP version your site is running.

Site Health will also show a notice on the Status tab if your PHP version is out of date.

Will updating PHP break my WordPress site?2026-10-25T17:15:52+00:00

Most of the time, no. Problems usually come from old plugins or themes that haven’t been updated to work with newer PHP versions.

If something does break after the update, you can go back to MultiPHP Manager and switch to your previous PHP version while you sort out the plugin or theme causing the issue.

What should I do before updating PHP?2026-10-25T17:15:53+00:00

A few quick steps lower the risk –

  1. Back up your WordPress site.
  2. Update WordPress, your plugins and your theme to their latest versions.
  3. Remove plugins and themes you no longer use.
  4. If your host offers a staging site, test the new PHP version there first.
How do I update PHP if my host doesn’t use cPanel?2026-10-25T17:15:54+00:00

Most hosts have their own PHP setting in the hosting dashboard. On SiteGround, for example, go to Site Tools > Devs > PHP Manager.

If you can’t find it, contact your hosting provider’s support team. Many hosts will update PHP for you, and some do it automatically.

Let’s get started working together!

Go to Top