Free 20-minute strategy call with a senior engineer: AI, payments, eLearning or custom software
Engineering

How Outdated PHP Versions Affect Your WordPress Site (2026)

How Outdated PHP Versions Can Affect Your WordPress Site

Key takeaways

  • PHP 8.1 and older get no security fixes, and PHP 8.2 loses them on 31 December 2026.
  • WordPress recommends PHP 8.3 or greater; 8.3 or 8.4 is the safe target for most sites today.
  • Your PHP version isn't a ranking factor, but slow pages and hacked sites hurt search visibility.
  • Upgrade on a staging copy first: back up, update plugins, scan the code, test checkout and forms, then switch.

Quick answer: if your WordPress site runs PHP 8.1 or older, it no longer gets security fixes from the PHP project. PHP 8.2 joins that list on 31 December 2026. WordPress recommends PHP 8.3 or greater, so most sites should plan a move to PHP 8.3 or 8.4, tested on a staging copy first.

An outdated PHP version rarely breaks a site overnight. The damage builds up instead: unpatched security holes, plugins that stop supporting your version, slower pages and, eventually, a forced upgrade at a bad moment. This guide explains the risks, shows which PHP versions are still supported, and gives you a safe upgrade checklist.

Which PHP versions are still supported?

Each PHP version gets two years of active support, with bug and security fixes, then two more years of security fixes only. After that it reaches end of life and gets no fixes at all. These are the dates from the official PHP support page at the time of writing:

PHP versionReleasedActive support untilSecurity fixes untilStatus in November 2026
8.1 and older2021 or earlierEndedEndedEnd of life: upgrade now
8.28 Dec 202231 Dec 202431 Dec 2026Security fixes only, ending in weeks
8.323 Nov 202331 Dec 202531 Dec 2027Security fixes only
8.421 Nov 202431 Dec 202631 Dec 2028Active support
8.520 Nov 202531 Dec 202731 Dec 2029Active support
PHP 8.6 was in release-candidate testing at the time of writing. New PHP versions usually arrive each November.

Which PHP version should your WordPress site use?

  • WordPress’s recommendation: the WordPress requirements page recommends PHP 8.3 or greater. WordPress still runs on PHP 7.4, but the same page warns that versions past end of life may expose your site to security vulnerabilities.
  • For production servers: the WordPress hosting handbook recommends PHP 8.4 or later.
  • Compatibility: WordPress 7.0 and 7.1 support PHP 7.4 to 8.5, according to WordPress’s PHP compatibility table. Your themes and plugins are usually the real limit, not WordPress itself.

In practice, PHP 8.3 or 8.4 is the safe target for most sites today. Move to 8.5 once your theme and every active plugin say they support it.

What goes wrong on an outdated PHP version

1. Security holes that will never be fixed

Once a PHP version reaches end of life, new vulnerabilities in it stay open. Keeping WordPress and plugins updated doesn’t fix a hole in PHP itself. When a serious PHP flaw is announced, sites on supported versions get a patch; sites on old versions have to upgrade under pressure. We saw this first-hand when a critical PHP vulnerability meant patching 34 servers in 48 hours.

2. Plugins and themes leave you behind

Plugin and theme developers raise their minimum PHP version over time. On an old PHP version, you eventually can’t install their updates, which often include security fixes of their own. Sites end up stuck on old plugin versions, which is a common way WordPress sites get hacked.

Free resource

Upgrade and patching checklist

Want this applied to your project? Our engineers will send it with notes for your stack.

Get it free

3. Slower pages and higher server load

Newer PHP versions generally run the same code faster and with less memory, so an upgrade often speeds up uncached pages, admin screens and checkouts. The gain depends on your code and hosting, so measure before and after rather than relying on a headline figure.

4. A forced upgrade at the worst time

Hosts retire old PHP versions on their own schedule. If your site has never been tested on a newer version, that switch can happen during a sale, a launch or a busy season, with no time to fix what breaks.

Does your PHP version affect SEO?

Not directly. Search engines don’t check your PHP version. They do notice the effects: slow responses, errors and, worst of all, a hacked site that gets flagged or filled with spam pages. Upgrading PHP protects your rankings indirectly, by keeping the site fast, working and clean.

How to check your PHP version

  • In WordPress: go to Tools, then Site Health, open the Info tab and expand Server. The Site Health screen also warns you when your PHP version is out of date.
  • In your hosting panel: look for a PHP version or PHP selector option in cPanel, Plesk or your host’s own dashboard.
  • Ask your host: on managed hosting, support can tell you the version and which newer ones are available.

How to upgrade PHP safely: a checklist

StepWhat to doWhy it matters
1. Back upTake a full backup of files and database, and check you can restore itAn untested backup is a guess, not a plan
2. Make a staging copyCopy the site to a staging environment on the same hostYou find problems without customers seeing them
3. Update everything else firstUpdate WordPress, the theme and all plugins on staging; remove plugins you don’t useMost compatibility fixes are already in newer versions
4. Scan the codeRun PHPCompatibilityWP against your theme and custom pluginsIt flags code that won’t run on the target version
5. Switch PHP on stagingChange to the target version and turn on WordPress debug loggingWarnings and errors go to a log instead of the screen
6. Test what earns moneyCheck log-ins, forms, checkout, payments, search, emails and scheduled tasksThese break quietly and cost the most
7. Switch productionUpgrade live at a quiet time, with the old version ready to switch backRolling back takes minutes if you planned it
8. Watch the logsCheck error logs and key pages for a few daysSome errors only appear on rarely used pages

What usually breaks when you upgrade

Most problems come from old custom code and abandoned plugins, not from WordPress itself. Common examples:

  • Removed functions: PHP 8.0 removed create_function() and each(), which still turn up in older themes and plugins. See PHP’s PHP 8.0 incompatible changes.
  • Stricter types: PHP 8.1 deprecated passing null to many built-in functions that expect a string or number. See PHP 8.1 deprecations.
  • Dynamic properties: PHP 8.2 deprecated creating object properties that were never declared, a pattern common in older plugin code. See PHP 8.2 deprecations.

Deprecations fill your logs with warnings first; removals stop code from running. For a fuller list, see our guides to migrating from PHP 7.4 to PHP 8 and dealing with PHP version compatibility issues.

When a plugin blocks the upgrade

  • Update it: check whether a newer version supports your target PHP version.
  • Replace it: if it hasn’t been updated in a year or more, look for a maintained alternative.
  • Fix it: for a custom or business-critical plugin, have a developer update the code. Keep the changes in version control so a future update doesn’t wipe them.
  • Retire it: sometimes the feature is no longer needed, or WordPress now does it natively.

When to get help with the upgrade

Many sites can be upgraded by whoever looks after them already. Get specialist help if any of these apply:

  • The site takes payments or bookings: WooCommerce stores, membership sites and booking systems lose money every hour they’re broken.
  • It has a custom theme or custom plugins: nobody outside your team has tested that code on newer PHP versions.
  • It’s several PHP versions behind: moving from PHP 7.x to 8.3 or 8.4 is a bigger step than a single version jump, and is best done in stages on staging.
  • Nobody knows how it was built: if the original developer has gone, start with an audit before changing anything.

Frequently asked questions

Is PHP 7.4 still safe for WordPress?

No. WordPress still runs on PHP 7.4, but the PHP project stopped fixing security issues in it years ago. Plan an upgrade to PHP 8.3 or 8.4.

Will upgrading PHP break my WordPress site?

It can, if a theme or plugin uses old code. That’s why you test on a staging copy first and keep the old version ready to switch back. Most well-maintained sites upgrade with few or no changes.

What happens when PHP 8.2 reaches end of life?

After 31 December 2026, PHP 8.2 gets no more security fixes. Your site keeps working, but any new vulnerability in PHP 8.2 stays open, and hosts will start retiring it.

Should I jump straight to the newest PHP version?

Only if your theme and every active plugin support it. A version that’s well supported by your plugins is safer than the newest one. Most sites are best on PHP 8.3 or 8.4 today.

How often should I update PHP?

Review it once a year. New PHP versions usually arrive each November, so a yearly check keeps you at least one step ahead of end of life.

Need help upgrading?

Vibidsoft upgrades and maintains WordPress sites at a fixed price, never by the hour. Start with a fixed-price assessment from $1,500, credited to the work: we check your PHP version, theme, plugins and custom code, and give you a written upgrade plan. For older or stalled sites, Modernize & Rescue projects start from $5,000. To keep PHP, WordPress and plugins current after that, care plans start from $1,500 a month, with response times in writing.

Talk to us about your WordPress upgrade.

Vibidsoft Engineering Team

Senior engineers who have shipped 450+ projects since 2014 across AI, payments, eCommerce, eLearning and custom software. Every guide is written and reviewed by the people who do the work.

Follow us on LinkedIn · About Vibidsoft

Next step

Talk to an engineer about Modernize & Rescue

Fixed-price upgrades for ageing PHP, Drupal, Magento or hybrid apps, with security patching and a care plan. from $5,000.

  • A 20-minute call with a senior engineer, not a salesperson
  • A written next-step plan within one business day
  • NDA on request
Book a call WhatsApp