Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Developer · Info

Is WordPress Compatible with PHP 8.5? The Short Answer

Is WordPress Compatible with PHP 8.5? The Short Answer

Short answer

Yes, WordPress core has supported PHP 8.5 since WordPress 6.9, but only at a beta support level. Core should run fine, yet many plugins and themes may not be ready, so test on a staging site before switching a live site.

Key takeaways

  • WordPress 6.9 added beta support for PHP 8.5.
  • Beta support means core works but the plugin and theme ecosystem may lag.
  • PHP 8.5 deprecations cause notices, while removed features cause errors.
  • Test on staging with debug logging before switching production.
  • PHP 8.3 or 8.4 remain safe choices for most live sites.

Is WordPress compatible with PHP 8.5?

WordPress core has supported PHP 8.5 since WordPress 6.9, but only at a beta support level, so the main risk on a live site is whether your plugins and theme are ready.

PHP 8.5 was released in November 2025. WordPress 6.9 shipped shortly after with work to make core run cleanly on it. The core team described the status in the post PHP 8.5 support in WordPress 6.9.

Beta support means core is expected to work, but the wider ecosystem has not caught up yet. Most WordPress sites run dozens of plugins, and each one needs to handle the new PHP version too.

For most site owners, the practical answer is:

  • WordPress core: works on PHP 8.5 from version 6.9, labelled beta
  • Plugins and themes: varies widely, test before switching
  • Production sites: wait for your plugins to confirm support, or test on staging first

If you want the bigger picture across all versions, our guide on WordPress PHP compatibility explains how support levels work.

What does beta support mean in WordPress?

Beta support means WordPress core runs on that PHP version and passes its tests, but the version is new enough that plugins, themes and hosts may still have problems.

WordPress tracks PHP support in its PHP compatibility and WordPress versions handbook page. It lists each WordPress release and the PHP versions it supports, with notes where support is beta or has exceptions.

A PHP version usually moves out of beta once enough sites run it without problems. Until then, core may still show some deprecation notices in rare cases, and the ecosystem is the bigger unknown.

Here is how the main PHP versions compare for WordPress sites:

PHP versionStatus in PHP's own support cycleWordPress outlook
8.1End of lifeWorks but upgrade soon
8.2Security fixes only, nearing end of lifeWell supported
8.3Security fixes onlyWell supported and widely used
8.4Active supportSupported, check plugins
8.5Active support, newest releaseBeta support from WordPress 6.9

PHP's own timeline is on the supported versions page. Our guide on which PHP version to use for WordPress gives a clear recommendation.

What changed in PHP 8.5?

PHP 8.5 adds features such as the pipe operator and a new URI extension, and it deprecates several older behaviors that some plugins still rely on.

The headline changes are listed on the PHP 8.5 release page. Highlights include:

  • The pipe operator, which passes a value through a chain of functions
  • A built-in URI extension for parsing and handling URLs
  • Clone with, which makes copying objects with changes easier
  • New helper functions such as array_first() and array_last()
  • A NoDiscard attribute to warn when return values are ignored

New features do not break old code. Deprecations are what matter for compatibility. PHP 8.5 deprecates several older patterns, such as some legacy cast names and the backtick operator for running shell commands.

Deprecations produce notices, not fatal errors. A plugin using deprecated code still runs, but it may fill your logs with warnings and will break in a later PHP version.

Which parts of a WordPress site might break on PHP 8.5?

Older or poorly maintained plugins and themes are the most likely to cause problems, along with custom code written years ago.

WordPress core is tested heavily against each new PHP release. You can follow that work in the core Trac ticket Prepare for PHP 8.5.

Plugins and themes have no such guarantee. Watch out for:

  • Plugins not updated in the last year
  • Premium plugins with expired licenses, so you are stuck on old versions
  • Custom themes built by agencies years ago
  • Code snippets added to functions.php
  • Old page builders and sliders

Fatal errors usually come from code that was already deprecated in earlier versions and is now removed, or from type errors that newer PHP handles more strictly.

How do you test your site on PHP 8.5?

Make a staging copy, switch only the staging site to PHP 8.5, turn on debug logging, and click through every key page and feature.

Step by step:

  1. Create a staging site through your host or a plugin
  2. Update WordPress, plugins and themes on staging
  3. Switch the staging site to PHP 8.5 in your hosting panel
  4. Turn on WP_DEBUG_LOG so warnings go to a log file
  5. Test the home page, forms, checkout, search and admin screens
  6. Read the debug log for errors and deprecations

If you find errors, note which plugin or theme file they come from. Check for an update, contact the developer, or plan to replace it.

Our guide on checking PHP error logs shows where to find the logs on common hosts.

Can you switch a live site to PHP 8.5 now?

You can, but it only makes sense if your plugins and theme state support for PHP 8.5 and your staging tests pass cleanly.

There is little to gain from rushing. Most performance and security benefits come from being on any supported PHP 8 version, not the very newest one.

A safer approach for most sites is:

  • Run PHP 8.3 or 8.4 on production now
  • Test PHP 8.5 on staging every few months
  • Switch once your key plugins confirm support

If you do switch and something breaks, change the PHP version back in your hosting panel. Our guide on fixing a site broken after a PHP update walks through recovery.

How do you check and change your PHP version?

Check your PHP version in Tools > Site Health > Info > Server, and change it in your hosting control panel.

WordPress shows the current PHP version in Site Health. It also warns when the version is outdated, based on the official WordPress requirements.

To change the version, use your host's PHP selector in cPanel, Plesk or the host's own dashboard. Some hosts let you pick a version per site.

Our guides on checking the PHP version on your host and updating it explain each panel in more detail.

When will PHP 8.5 be fully supported?

The beta label usually lifts in a later WordPress release once enough sites run the new PHP version without problems, so check the compatibility handbook page for the current status.

The timing depends on adoption, not a fixed date. Host defaults, plugin updates and testing all play a part.

Our PHP version usage statistics show how quickly sites tend to move to new versions. Historically, it takes a year or more before a new PHP version is common on WordPress sites.

Until then, PHP 8.3 and 8.4 remain safe choices. Keep plugins updated so that when you do move to 8.5, the switch is uneventful.

Frequently asked questions

Which WordPress version first supported PHP 8.5?

WordPress 6.9, released in late 2025, was the first version with PHP 8.5 support, labelled as beta support. Later WordPress releases may change that label, so check the official compatibility handbook page.

Is PHP 8.5 faster for WordPress?

Each PHP 8 release brings small improvements, but most WordPress speed gains come from moving off PHP 7 to any PHP 8 version, plus caching. The jump from 8.4 to 8.5 is unlikely to be noticeable.

Will my plugins work on PHP 8.5?

Well maintained plugins usually update quickly, but there is no guarantee. Check each plugin's change log or support forum for PHP 8.5 notes and test on staging before switching a live site.

What should I do if my site breaks after switching to PHP 8.5?

Switch back to the previous PHP version in your hosting panel, which usually restores the site at once. Then check the error log to find the plugin or theme causing the problem.

Does my host offer PHP 8.5?

Many hosts add new PHP versions within weeks or months of release. Look for a PHP selector in your control panel or ask support. Some hosts keep new versions as optional until they are widely tested.

Sources

  1. PHP 8.5 support in WordPress 6.9 Make WordPress Core
  2. PHP Compatibility and WordPress Versions WordPress Core Handbook
  3. PHP 8.5 Release Announcement PHP.net
  4. Supported Versions PHP.net
  5. Prepare for PHP 8.5 WordPress Trac
  6. Requirements WordPress.org

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.