Skip to content

WordPress "PHP Update Required" notice: cause and fix

Find out what triggers the WordPress "PHP Update Required" notice and how urgent it is. You will see who can change the PHP version, change it safely, and confirm that the notice is gone.

Your WordPress dashboard shows a box titled “PHP Update Required”. It says your site “is running on an outdated version of PHP” and names a version such as 7.4.33. Nothing breaks today, but your PHP version is older than 8.0, which a future WordPress release will require. The fix is a hosting setting, on cPanel and managed hosting alike: move the site to PHP 8.3 or newer after a compatibility test. No plugin or WordPress update clears the box, but after that change it disappears on the next dashboard load, and so does the milder “PHP Update Recommended” box.

What you’ll accomplish

  • Read the notice and know which of its wordings you have.
  • Know which PHP versions trigger the dashboard box, and which only show up in Site Health.
  • Find out whether you or your host changes the PHP version.
  • Change the version with a way back, then confirm the notice is gone.

Prerequisites

  • An administrator account on the WordPress site. On a multisite network, only a super admin sees the box.
  • WordPress 7.0 or 7.1 for the version thresholds below. The current release is 7.1.5 as of 22 November 2026. WordPress 6.7 to 6.9 use an older threshold, covered under “How it works”.
  • A login to your hosting control panel, or a way to reach your host’s support.
  • Optional: SSH access with WP-CLI, the wp command that manages WordPress from a terminal. Only step 7 needs it.

How it works

WordPress asks WordPress.org whether your PHP version is still good. When an administrator opens the dashboard, the function wp_check_php_version() sends the exact PHP version to a WordPress.org service called Serve Happy. WordPress stores the short verdict it gets back for one week, then asks again.

Ladder showing how the PHP version of the site goes to WordPress.org for a verdict that is cached for one week, and the four results in WordPress 7.0 and 7.1. PHP 8.3 or newer shows no notice. PHP 8.1 and 8.2 show only a Site Health recommendation. PHP 8.0 shows the PHP Update Recommended dashboard box. PHP 7.4 shows the PHP Update Required dashboard box, highlighted as the case this article covers.

The verdict has five fields. This is the real answer for PHP 7.4.33 on 22 November 2026:

{"recommended_version":"8.3","minimum_version":"7.4","is_supported":false,"is_secure":false,"is_acceptable":false}
FieldMeaning
recommended_versionThe version WordPress.org recommends, 8.3 today. Site Health compares your version with it.
minimum_versionThe oldest PHP that current WordPress runs on.
is_supportedWordPress.org counts this branch as actively supported. Today that is 8.3 and newer.
is_secureWordPress.org counts this branch as still receiving security fixes. Today that is 8.1 and newer.
is_acceptableWordPress.org accepts the version. When this is false, the dashboard box appears.

WordPress then adds one rule of its own. Any PHP older than 8.0 gets the box, whatever the service says, because a future WordPress release will require at least 8.0. That rule also picks the title “PHP Update Required”. WordPress 6.7 to 6.9 apply the same rule with 7.4 as the line. On those releases, PHP 7.4 shows “PHP Update Recommended” instead.

What each PHP version shows today

The table combines the WordPress 7.1 source code with the answers Serve Happy gave on 22 November 2026.

PHP versionDashboard boxSite Health status
8.3 or newerNonePassed test, “Your site is running a recommended version of PHP”
8.1, 8.2NoneRecommended improvement, “Your site is running on an older version of PHP (8.2.36), which should be updated”
8.0“PHP Update Recommended”Critical issue
7.4“PHP Update Required”Critical issue

The text inside the box changes with the case:

  • PHP 7.4: “Your site is running on an outdated version of PHP (7.4.33), which does not receive security updates and soon will not be supported by WordPress. Ensure that PHP is updated on your server as soon as possible. Otherwise you will not be able to upgrade WordPress.”
  • PHP 8.0: “Your site is running on an outdated version of PHP (8.0.30), which does not receive security updates. It should be updated.”

Troubleshooting covers a third wording that can appear today.

The week-long cache

WordPress saves the verdict in a site transient, a cached value with an expiry date that lives in the database. Its name is php_check_ followed by a hash of the exact PHP version, and it lasts seven days. Because the version is part of the name, a new PHP version has no saved verdict. WordPress asks again on the next dashboard load, so the box clears at once when the new version is an accepted one.

The cache matters in the other direction. If WordPress.org changes its mind about a version you still run, your site can take up to a week to notice.

What your host can change in the box

The box always has a Learn more about updating PHP button. By default it opens the Update PHP page on WordPress.org. A host can point it at its own instructions with the WP_UPDATE_PHP_URL environment variable or the wp_update_php_url filter, a WordPress hook that lets code replace a value. WordPress then prints this line under the button: “This resource is provided by your web host, and is specific to your site.”

A host can also add a second button, Update PHP, with the WP_DIRECT_UPDATE_PHP_URL environment variable or the wp_direct_php_update_url filter. That button goes straight to the host’s screen for changing the version. If you see it, your host expects you to make the change yourself.

Step-by-step

1. Read the title and the version in the box. Open Dashboard → Home. Note the title and the number in brackets. Then open Tools → Site Health → Info → Server and read PHP version. Both numbers must match, because both come from the PHP that answers web requests.

2. Ask WordPress.org about your version. Replace the version with yours:

curl -s "https://api.wordpress.org/core/serve-happy/1.0/?php_version=8.2.36"

Output on 22 November 2026:

{"recommended_version":"8.3","minimum_version":"7.4","is_supported":false,"is_secure":true,"is_acceptable":true}

"is_acceptable":true means no dashboard box. "is_acceptable":false means the box. Run the command again with the version you plan to move to, and check that it returns true for is_supported.

3. Decide how urgent it is. Compare your version with the dates on the PHP supported versions page:

Your PHPSecurity fixes from php.netWhat to do
7.4Ended 28 November 2022Start this week. The WordPress upgrade path will close too.
8.0Ended 26 November 2023Start this week.
8.1Ended 31 December 2025Plan it now, even though WordPress shows no box.
8.2End on 31 December 2026Move before the end of the year.
8.3 or newerContinue, until 31 December 2027 for 8.3Nothing to do for this notice.

A missing box does not mean the version is safe. On 22 November 2026, Serve Happy still answers "is_secure":true for PHP 8.1, which php.net stopped fixing almost eleven months ago. The security releases of 19 November 2026 had no version for 8.1, as the November 2026 PHP security release article explains. For 8.2, follow the PHP 8.2 end-of-life plan.

4. Prepare the site before you touch PHP. Take a full backup of files and database. Update WordPress, every plugin and every theme, then check that the site still works. Test the new PHP version on a staging copy first. The method is in the compatibility check before a PHP version change. Write down the current PHP version, because it is your way back.

5. Find out who controls the version. Check these in order and stop at the first that applies:

  1. The box has an Update PHP button. Use it.
  2. Your cPanel has MultiPHP Manager under Software. You control the version for each domain.
  3. Your cPanel has Select PHP Version instead. The server runs CloudLinux and you control the version for the account. The comparison of PHP Selector and MultiPHP explains the difference.
  4. None of the above. The host controls it. Send a ticket with the site address, the current version from Site Health, and the version you want.

6. Change the version. In cPanel, open Software → MultiPHP Manager. Tick the box beside the domain. Choose the new version from the PHP Version menu, then click Apply. The cPanel documentation notes that a missing version is not installed on the server or not allowed for your account. In that case, ask the host to add it. The details for subdomains and inherited versions are in setting the PHP version per account with MultiPHP Manager.

Then load the home page, one post, the login page and any checkout or form. If a page fails, set the old version back in the same screen.

7. Optional: inspect or clear the saved verdict. You rarely need this after a version change. It helps when you want WordPress to ask again right away. List the entries:

wp transient list --network --search='php_check_*' --fields=name,expiration --human-readable

Example output:

+--------------------------------------------+------------+
| name                                       | expiration |
+--------------------------------------------+------------+
| php_check_990bfacb848fa087bcfc06850f5e4447 | 4 days     |
| php_check_23c9d6f537c6a8e0935d4052e830149e | 6 days     |
+--------------------------------------------+------------+

Each line is one PHP version that WordPress checked in the past week. Here the first is 7.4.33 and the second is 8.3.37. If no php_check_ line appears, no verdict is saved in the database, and WordPress asks on the next dashboard load. To delete one entry, copy its name:

wp transient delete php_check_990bfacb848fa087bcfc06850f5e4447 --network

Expected: Success: Transient deleted. A warning that the transient “does not appear to exist” means the name is wrong or the entry already expired. If the site uses an external object cache such as Redis, wp transient list prints a warning and shows only database entries. The delete command still works.

Validate it works

  1. Reload Dashboard → Home. The “PHP Update Required” box is gone.
  2. Open Tools → Site Health → Info → Server. PHP version shows the new number.
  3. Open Tools → Site Health → Status and expand Passed tests. With PHP 8.3 or newer you see “Your site is running a recommended version of PHP”, followed by your version in brackets.
  4. Run the command from step 2 with the new version. All three is_ fields read true.

When all four hold, the site runs a PHP version that php.net and WordPress.org both support. The notice stays away until that branch ages out.

Troubleshooting

The box is still there after the change. Compare the number in the box with the version you chose. If the box still names the old version, the web side did not change. Common causes are a different domain or subdomain ticked in MultiPHP Manager, or a host change that has not been applied yet. Then check which PHP version really serves the site.

The box appears on PHP 8.1 or newer. Its title is “PHP Update Recommended” and its text ends with “which should be updated”, with nothing after. Serve Happy accepts that version, so something on the site overrides the verdict. WordPress has a filter named wp_is_php_version_acceptable that a plugin or a host can use for this. It can only make the check stricter. Ask your host first, then test with plugins switched off on a staging copy.

Site Health says “Unable to determine the status of the current PHP version”. The site could not reach api.wordpress.org. No dashboard box appears in that state, so the silence proves nothing. A failed answer is not cached, and WordPress tries again on the next load. Ask the host whether outbound HTTPS requests from the server are blocked.

The site shows a critical error after the change. Set the previous version back in the same screen. Then find the plugin or theme at fault with the WordPress critical error walkthrough before you try again.

You expected a box and see none. The box needs the right to update WordPress core, so editors and authors never see it. An administrator loses that right too when wp-config.php sets DISALLOW_FILE_MODS to true. PHP 8.1 and 8.2 also get no box today. Check Site Health instead.

When this is the wrong approach

The box is a regular dashboard widget, so Screen Options or a clean-up plugin can remove it from view. Hiding it changes nothing else. The PHP version stays the same, and so does the risk.

If a plugin you cannot replace fails on PHP 8.x, changing the version only moves the outage. Staying on 7.4, 8.0 or 8.1 for a while is possible if your host applies security fixes to those versions itself. The options for end-of-life PHP versions lists them.

Running WordPress that earns real money deserves an operator — Stack Harbor runs that stack under Enterprise WordPress; book an infrastructure consult.