Coding4 min read · Today
Is Your WordPress Site Running Old PHP? Check It Today

Over half of all self hosted WordPress sites are running a PHP version that will be out of official support by 1 January 2027. That comes from Adam Greenough’s analysis of the WordPress.org PHP version statistics, checked on 28 November 2026.
If you run a WordPress site, or a few of them for clients, this is a good month to look. In this post I’ll show you where WordPress sites stand today, how to check your own PHP version in two minutes, and how to upgrade without breaking the site.
Where WordPress Sites Stand Today
Here is how the WordPress.org stats break down by PHP version, as of 28 November 2026:
- PHP 7.3 and older: 5.1%
- PHP 7.4: 13.9%
- PHP 8.0: 3.2%
- PHP 8.1: 8.8%
- PHP 8.2: 22.1%
- PHP 8.3: 28.3%
- PHP 8.4: 11.3%
- PHP 8.5: 7.1%

Add up 8.1 and everything older and you get about 31%. Those sites already run versions the PHP project no longer fixes. According to php.net, PHP 7.4 support ended on 28 November 2022, 8.0 on 26 November 2023 and 8.1 on 31 December 2025.
PHP 8.2 is next. Its security support ends on 31 December 2026, per the supported versions page. That is another 22.1% of sites, which takes the total to about 53% by January.
Why This Matters
Once the four years of support are completed, the branch reaches its end of life and is no longer supported.
php.net, Supported Versions
No support means new security issues in that branch do not get official fixes. Some hosts patch older versions themselves, but only your host can tell you whether yours does. Don’t assume.
WordPress itself recommends “PHP version 8.3 or greater” on its requirements page. PHP 8.3 gets security fixes until 31 December 2027, 8.4 until 2028 and 8.5 until 2029.
Step 1: Check Your PHP Version
You don’t need server access for this. WordPress shows it in the Site Health screen:
- Log in to your WordPress dashboard.
- Go to Tools and open Site Health.
- Click the Info tab.
- Expand the Server section.
- Read the PHP version row.

If it says 8.2 or lower, plan the upgrade now. Don’t rely only on the Site Health status warnings here. As Greenough points out, the list of supported versions behind them can lag.
Step 2: Prepare a Safe Test
- Take a full backup of files and the database, and make sure you know how to restore it.
- Create a staging copy of the site. Many hosts offer one click staging in their panel.
- On staging, update WordPress core, your theme and your plugins first. Old plugins are the usual reason an upgrade breaks.
- Turn on the debug log on staging so errors are written to a file instead of the screen.
Add these lines to wp-config.php on the staging site, above the line that says to stop editing:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Step 3: Switch PHP and Test
The PHP version switch lives in your hosting control panel. On cPanel hosts it is usually called MultiPHP Manager or Select PHP Version. Other hosts keep it in the site’s PHP settings. Pick 8.3 or newer for the staging site, then click through everything that matters:
- The home page, a few posts and pages, and the search.
- Forms, logins and anything that sends email.
- Checkout and payments if you run a shop.
- The WordPress dashboard, the editor and media uploads.
Then read the log. If you have SSH access, this shows the latest entries:
tail -n 50 wp-content/debug.log
Fatal errors usually point straight at the plugin or theme file that needs an update or a replacement. Fix those on staging first.
Step 4: Upgrade the Live Site
Once staging is clean, switch the live site at a quiet hour, with a fresh backup in hand. Test the same pages again. If something breaks, you can switch back to the previous PHP version in the same panel while you fix it. Then turn the debug settings off again on staging.
My Take
This is one of those jobs that takes an hour now and saves a bad week later. Check your version today. If you look after client sites, check all of them this month, before 31 December, and ask each host one simple question: is this PHP version still getting security fixes?
