HackerMe Security — practical guidance for protecting your website

53% of WordPress Sites Will Run PHP Without Official Security Fixes on 1 January. Here’s How to Check Yours in a Minute

Dark navy graphic with a large 53 percent figure, the line "of WordPress sites will run PHP without official security fixes on 1 January," a PHP 8.2 / 31 Dec 2026 kicker, and the HackerMe wordmark.

If your site runs WordPress, it runs on PHP. On 31 December 2026, PHP 8.2 reaches official end of life: the PHP project stops publishing security fixes for that branch. WordPress.org’s public PHP statistics, checked on 30 November 2026, show about 31% of WordPress sites are already on a version the PHP project no longer fixes, and another 22% are still on PHP 8.2. If those sites do not move, 53% of WordPress sites will be on PHP without official security fixes on 1 January.

You can check your version in about a minute. If you are on 8.2 or older, you still have time to plan a move to PHP 8.3 or 8.4 before that date.

How to check your PHP version in a minute

In WordPress: Site Health

From the WordPress dashboard, go to Tools > Site Health, open the Info tab, expand the Server section, and look for PHP version. That path is the one WordPress.org documents.

WordPress.org recommends PHP 8.3 or greater. If you are already on 8.3 or newer, you are past this particular deadline. If you are on 8.2, official fixes from the PHP project run until 31 December. If you are on 8.1 or older, official support has already ended.

In cPanel or your host’s panel

PHP lives on the server, so the version is often visible in the hosting panel too.

In cPanel, open Software, then MultiPHP Manager. The list shows the PHP version for each domain. Some hosts label the same idea Select PHP Version. If you cannot find it, ask your host two questions: which PHP version is my site on, and do you still apply official or your own security fixes to it? Who changes PHP depends on the host. On shared or managed hosting it is usually them. On a VPS or your own server, it is your developer or nobody.

What an outsider can sometimes see

Some servers advertise the PHP version in a public HTTP response header called X-Powered-By, for example PHP/8.2. An outside check can sometimes see that header. Many hosts already hide it, so a missing header is not proof of the version, and it is not proof that the site is fine. The reliable check is Site Health or the hosting panel. If you want to look at the headers yourself, we explain how in how to check security headers.

What to do before 31 December

Move to PHP 8.3 or 8.4

The practical next step for most WordPress sites is PHP 8.3 or 8.4.

  • PHP 8.3 still gets official security fixes until 31 December 2027. WordPress.org recommends 8.3 or greater.
  • PHP 8.4 gets official security fixes until 31 December 2028. The WordPress hosting team recommends PHP 8.4 or later for production.

PHP 8.5 is also officially supported, with security fixes until 31 December 2029. If your host and plugins already offer it and you have tested it, it is a valid choice. You do not need to jump to the newest release on day one.

Test plugins and themes first

WordPress itself still runs on PHP as far back as 7.4, but plugins and themes are what usually break. Before you change the server version:

  1. Take a backup, and confirm you can switch PHP back if needed.
  2. Update WordPress, themes and plugins from Dashboard > Updates, then check that the site still works.
  3. On each plugin and theme’s WordPress.org page, or the developer’s site, note the required PHP version and the last update date. A plugin that has not been updated in a long time is the one most likely to fail.
  4. If your host offers a staging copy, change PHP there first. Click through the home page, login, forms, and checkout if you have one.

Change the version, then check again

In cPanel MultiPHP Manager: tick your domain, choose the new PHP version from the menu, and click Apply. The change is usually immediate. Then open Site Health again and confirm the new number.

If the site breaks, switch back to the previous version in the same screen, then fix the plugin or theme before you try again. After a successful switch, check the home page, login, forms and checkout once more. We walk through a short rehearsal like this in safe WordPress security updates.

Some hosts and Linux distributions keep applying their own fixes to older PHP after the PHP project stops. Only your host can tell you whether that applies to your server. Even then, plugins and themes keep moving on, so a supported PHP version is still the cleaner path.

A recent reminder

In November, the PHP project shipped critical security fixes for every supported version. We covered that release in this earlier post. Fixes like that only reach you if you are still on a version the PHP project supports, or if your host back-ports them.

FAQ

Does a site on PHP 8.2 become unsafe at midnight on 31 December?

No automatic switch flips. Official security fixes from the PHP project simply stop after that date. New flaws found in January will not get an official 8.2 patch. That is why the move is worth doing now, not after something breaks.

I am on PHP 8.1 or 7.4. Am I already late?

Official security support for PHP 8.1 ended on 31 December 2025, and for PHP 7.4 on 28 November 2022. About 14% of WordPress sites are still on 7.4. Ask your host whether they still patch that version themselves, and plan a move to 8.3 or 8.4.

Will changing PHP break my site?

It can, usually because of an old plugin or theme, not because of WordPress itself. A backup, a staging test, and the ability to switch back are the practical safeguards. Popular, maintained plugins usually work on 8.3 and 8.4.

Can I see my PHP version without logging into WordPress?

Sometimes. If the server sends an X-Powered-By header, the version is visible to anyone who looks at the response, which is also why many hosts hide it. If the header is missing, use Site Health or the hosting panel.

A version check tells you what the server is running. It does not tell you what else the site exposes to the public. A free website security scan looks at your site from the outside, the way a stranger would. It only takes 7 minutes to know.