WordPress & PHP guides

Recommended PHP Version for WordPress (2026): 8.3, 8.4 or 8.5?

Author: Lucky Oleg | Published Updated

For a maintained WordPress site in 2026, we recommend PHP 8.5. WordPress.org recommends PHP 8.3 or greater, and we don’t stop at the paperwork: on 10 November 2026, all 25 live WordPress sites we host ran PHP 8.5, 15 of them with WooCommerce. PHP 8.4 is the fallback, PHP 8.3 is the floor, and PHP 8.2 or older needs a move.

Like every year, we didn’t pick a version from a requirements page. We moved our own client sites first: PHP 8.3 for about a year, then PHP 8.4, now PHP 8.5. We update WordPress and Elementor sites almost every week, so everything below comes from real sites with real visitors and real checkouts, not from a fresh install with a default theme.

The latest stable PHP version is PHP 8.6.0, released on 19 November 2026. See the newest release on every supported branch.

Security update, 19 November 2026: a supported branch still needs its latest security release. PHP released 8.5.13, 8.4.28, 8.3.37 and 8.2.36 with security fixes, after the 21 October fixes for two critical remote code execution vulnerabilities. Check the fixed versions and what to ask your host, and install the fix before you plan a separate branch upgrade.

Here’s the short version:

Your situationOur pickWhy
WordPress 6.9 or later, maintained plugins, host offers PHP 8.5PHP 8.5Longest support of the branches WordPress lists, and it’s what all 25 of our live sites run
A WooCommerce store on WordPress 6.9 or laterPHP 8.5, after a full test order on stagingWooCommerce documents testing up to 8.4; our 15 WooCommerce sites run 8.5
WordPress 6.7 or 6.8, or one plugin or the host isn’t ready for 8.5PHP 8.4Supported by WordPress, tested by WooCommerce, and our production version before 8.5
A dependency blocks 8.4 and 8.5, and you have a plan to fix itPHP 8.3, for nowSecurity fixes until 31 December 2027; set a date to move
PHP 8.2 or olderUpgradePHP 8.2 loses security support on 31 December 2026; 8.1 and older are past end of life

Before you switch anything, paste your Site Health report into our free WordPress PHP Upgrade Readiness Checker. It flags core-version conflicts, stale plugins and missing rollback steps for your target version, right in your browser.

Already know your target? Jump to the PHP 8.5 compatibility guide, the PHP 8.4 guide, or the upgrade test matrix below. Still on PHP 8.2? Its security support ends on 31 December 2026, and our PHP 8.2 end-of-life upgrade plan explains the deadline and the branches you can move to.

Why the PHP version matters for WordPress

WordPress runs on PHP. WordPress core, every theme and every plugin are PHP code, and your server runs them on whichever PHP version your host has set.

A lot of WordPress site owners treat that version as an invisible server detail they never need to think about. That works right up until it doesn’t: support for your branch ends, a plugin update asks for newer PHP, or the dashboard starts showing “PHP Update Required”.

Here’s what the version decides:

  • Security fixes. Each PHP branch gets roughly two years of active support and two more of security fixes. After that, newly found bugs stay open on your server.
  • Compatibility. Software moves on without you. WooCommerce already asks for PHP 8.3 or greater, and WordPress 7.0 left PHP 7.2 and 7.3 behind: sites on them can’t update past WordPress 6.9.
  • Speed. The WordPress Hosting Handbook puts it plainly: “Keeping your PHP to the latest stable version is important for WordPress speed and security.” On our own sites, the Elementor editor feels quicker on newer PHP than it did a couple of versions ago.
  • Runway. Pick PHP 8.5 today and the branch gets security fixes until 31 December 2029. Pick 8.3 and you’re planning the next move already.

We see what happens when nobody thinks about it. In late October 2026, 112,163 sites ran through our free PHP Version Checker. Of the 19,620 that showed a clear PHP version, 31% were on PHP 8.1 or older, which no longer gets regular security fixes. Only 13% were on PHP 8.5. The full numbers are in our PHP version statistics for 2026.

Not sure what your own site runs? Paste the domain into our PHP Version Checker, or see the CMS, server and more with the Website Technology Checker.

What we run: 25 live WordPress sites on PHP 8.5

On 10 November 2026 we checked every WordPress site on our own server using response headers, page source and the public REST API index.

  • 25 of 25 run PHP 8.5, and all are built with Elementor Pro.
  • 24 of 25 report PHP 8.5.12 in a public response header. The last one hides that header and sits on the same server.
  • 15 of 25 run WooCommerce, with Paysera, WooCommerce Stripe Gateway, Montonio and Inbank among the payment plugins.
  • Every site that shows its WordPress version is on WordPress 7.1.
  • All of them are served by LiteSpeed.

The plugins are the everyday kind: LiteSpeed Cache, Site Kit by Google and SEOPress on nearly every site, Polylang for multilingual content on three, and Advanced Product Fields for WooCommerce and Flexible Checkout Fields on the stores that need custom product options and checkout fields. The full list, with the number of sites running each plugin, is in our PHP 8.5 guide.

Don’t take our word for it. Paste any of these domains into the checker and it reads the same header we did.

See all 25 sites by name

WordPress sites:

WordPress and WooCommerce sites:

Check a site’s PHP version

Latest PHP version (November 2026)

The current PHP version is PHP 8.6.0. PHP 8.6 is the newest stable branch, first released on 19 November 2026, and 8.6.0 is its latest release. Each supported branch gets its own releases, so the newest version for your site depends on the branch it runs:

Newest PHP release per supported branch, checked 20 November 2026
Branch Newest release Released Support status Security fixes until
PHP 8.6 8.6.0 19 Nov 2026 Active support 31 Dec 2030
PHP 8.5 8.5.13 19 Nov 2026 Active support 31 Dec 2029
PHP 8.4 8.4.28 19 Nov 2026 Active support 31 Dec 2028
PHP 8.3 8.3.37 19 Nov 2026 Security fixes only 31 Dec 2027
PHP 8.2 8.2.36 19 Nov 2026 Security fixes only 31 Dec 2026

Release numbers from php.net releases, checked 20 November 2026. Support dates come from PHP's supported versions page.

One heads-up for hosts: PHP 8.4.27 and 8.5.12 have a regression that can crash PHP when the garbage collector frees certain SimpleXML objects. PHP 8.4.28 and 8.5.13 both include the fix (GH-24488): the commit is in the source of both releases (8.4.28, 8.5.13), although PHP’s changelog names it under 8.4.28 only. The WordPress Hosting Handbook advises against downgrading to get away from the bug, because the older releases miss the October security fixes.

PHP 8.6.0 is out, but WordPress doesn’t list it yet; more on that below. For the end-of-life date of every branch, see PHP supported versions and end-of-life dates.

PHP 8.3 vs 8.4 vs 8.5 at a glance

All three branches are supported by WordPress core and still get security fixes from PHP. They differ in how long that lasts, which WordPress version you need, how widely they are used and what they deprecate.

PHP 8.3 vs 8.4 vs 8.5 for WordPress: support dates, core support, WooCommerce testing and usage
Detail PHP 8.3PHP 8.4PHP 8.5
Support status Security fixes only Active support Active support
Active support until 31 Dec 2025 31 Dec 2026 31 Dec 2027
Security fixes until 31 Dec 2027 31 Dec 2028 31 Dec 2029
WordPress core support from WordPress 6.4 WordPress 6.7 WordPress 6.9
WooCommerce testing Tested Tested Not listed yet
Share of WordPress sites 26.4% 9.2% 3.8%
Notable deprecations
  • get_class() and get_parent_class() without arguments
  • ++ and -- on empty or non-numeric strings
PHP 8.3 deprecations
  • Implicitly nullable parameter types
  • trigger_error() with E_USER_ERROR
  • The E_STRICT constant
PHP 8.4 deprecations
  • null as an array offset
  • curl_close(), imagedestroy(), finfo_close()
  • (integer), (boolean), (double), (binary) casts
  • The backtick operator
  • __sleep() and __wakeup() (soft)
PHP 8.5 deprecations

Sources: PHP supported versions (checked 20 November 2026); the WordPress PHP compatibility table (updated 4 November 2026, checked 20 November 2026); WooCommerce server requirements ("PHP version 8.3 or greater (tested up to PHP 8.4)", checked 11 November 2026); WordPress.org PHP usage statistics (17 October 2026); PHP migration guides (checked 17 October 2026). "Not listed yet" means WooCommerce does not list that branch as tested, not that it fails.

The practical difference: PHP 8.3 gets security fixes until 31 December 2027, PHP 8.4 until 31 December 2028 on WordPress 6.7 or later, and PHP 8.5 until 31 December 2029 on WordPress 6.9 or later. The deprecations mostly produce log notices in older plugin code rather than errors, so read the logs on staging before you choose.

PHP 8.4 vs PHP 8.5

If your host and your plugins are ready, PHP 8.5 wins. Is it stable? Yes: it has been a stable release since 20 November 2025, and it runs every WordPress site we host. It gets active support until 31 December 2027, a year longer than PHP 8.4, and security fixes until 31 December 2029. It needs WordPress 6.9 or later, while PHP 8.4 runs from WordPress 6.7.

PHP 8.4 is the fallback, not the outdated one. WooCommerce lists it as tested, and it was our production version before 8.5. When we moved our sites up, we started with the simple ones, then the complex ones, then the stores. If you look after several sites, use the same order.

PHP 8.3 vs PHP 8.4

PHP 8.3 is still the most common version out there: about 1 in 4 WordPress sites in WordPress.org’s statistics on 17 October 2026, and about 1 in 4 of the sites that showed a version to our checker. But its active support ended on 31 December 2025, so it only gets security fixes now.

PHP 8.4 gets regular bug fixes until 31 December 2026 and security fixes until 31 December 2028. If you’re leaving 8.3 and the site already runs WordPress 6.9 or later, consider going straight to 8.5: one move instead of two.

Current official baselines

The official pages answer different questions. We rechecked all three on 11 November 2026:

BaselineWhat it means
PHP 7.4 minimum for WordPress 7.0 and 7.1Core can run on it; PHP 7.4 has had no security fixes since 28 November 2022
PHP 8.3+ on WordPress.orgPublic hosting recommendation
PHP 8.4+ in the Hosting HandbookRecommended for production, with full-stack testing before a host makes it the default

Meeting the minimum doesn’t get you PHP security fixes. Check PHP’s support dates separately.

The WordPress PHP compatibility matrix documents these combinations for WordPress 6.0 to 7.1:

WordPress core support for PHP 7.4 to 8.5, by WordPress version
WordPress PHP 7.416.2% of WordPress sites PHP 8.03.9% of WordPress sites PHP 8.110.8% of WordPress sites PHP 8.223.9% of WordPress sites PHP 8.326.4% of WordPress sites PHP 8.49.2% of WordPress sites PHP 8.53.8% of WordPress sites
7.1 Yes Yes Yes Yes Yes Yes Yes
7.0 Yes Yes Yes Yes Yes Yes Yes
6.9 Yes Yes Yes Yes Yes Yes Yes
6.8 Yes Yes Yes Yes Yes Yes No
6.7 Yes Yes Yes Yes Yes Yes No
6.6 Yes Yes Yes Yes Yes No No
6.5 Yes Yes Yes Yes Yes No No
6.4 Yes Yes Yes Yes Yes No No
6.3 Yes Yes Yes Yes No No No
6.2 Yes Yes Yes Yes No No No
6.1 Yes Yes Yes Yes No No No
6.0 Yes Yes Yes No No No No

"Yes" means WordPress core supports that PHP branch. Percentages under each PHP version are its share of WordPress sites from WordPress.org statistics on 17 October 2026. Source: the WordPress PHP compatibility table, updated 4 November 2026 and checked 20 November 2026.

So the order matters: update WordPress first, switch PHP second.

Core support covers WordPress’s own code. Your plugins, theme, payment gateway, custom snippets and server extensions are a separate test, and that test is yours.

A practical selection rule

Consider PHP 8.5 when

  • the site runs WordPress 6.9 or later;
  • the host supports the branch and its required extensions;
  • maintained plugins and themes declare or demonstrate compatibility;
  • staging tests, logs, scheduled jobs, and integrations pass;
  • production has a tested rollback.

That’s the profile of the WordPress sites we host, so that’s where they all are. The WordPress and PHP 8.5 guide covers that branch in detail.

Consider PHP 8.4 when

  • the site runs WordPress 6.7 or 6.8;
  • one component has not cleared PHP 8.5;
  • your host doesn’t offer PHP 8.5 yet;
  • the staging result is cleaner on 8.4.

Some hosts still haven’t added PHP 8.5, almost a year after its release. If yours is one of them, PHP 8.4 is the pick. See the WordPress and PHP 8.4 guide for the version-specific checks.

Stay temporarily on PHP 8.3 when

  • it is still security-supported upstream;
  • the site cannot yet pass staging on a newer branch;
  • a documented dependency blocks the move and has an active remediation plan.

“Temporarily” should include an owner and a review date. Sure, you can cut wood with a handsaw. Just don’t let an abandoned plugin keep the site on a PHP version after its security support ends.

Move off PHP 8.2 and older

We don’t recommend PHP 8.2, 8.1 or anything older on WordPress in 2026. PHP 8.2 gets security fixes until 31 December 2026 and nothing after that. PHP 8.1 and older are already past end of life. Our PHP 8.2 end-of-life upgrade plan sets out the branch deadlines and choices.

Elementor, WooCommerce, and extensions

WordPress core is one layer. The plugins on top are where a PHP switch actually gets tested:

  • Elementor: its requirements say it works with PHP 7.4 and highly recommend PHP 8.3+. All 25 of our sites run Elementor Pro on PHP 8.5. Third-party add-on packs are the part to watch. Our Elementor PHP compatibility guide lists the sites and the settings.
  • WooCommerce: its server requirements ask for PHP 8.3 or greater, tested up to PHP 8.4 (checked 11 November 2026). PHP 8.5 isn’t on that list yet, so on a store your own staging run is the 8.5 test. Our 15 WooCommerce sites run on 8.5 every day. Compatibility also covers extensions, payment and shipping plugins, subscriptions and custom code, not only WooCommerce core.
  • PHP extensions: PHP extensions for WordPress follows the official Hosting Handbook and the site’s real feature set. Enabling every module is not a strategy.
  • Settings we pair with it: max_input_vars at 3000 or more for big menus and pages full of widgets, and OPcache on. For memory, Elementor asks for a 256 MB WordPress memory limit and recommends 512 MB; our WordPress memory limit guide shows how to read and raise it.
  • WordPress version: WordPress 7.0 and 7.1 PHP requirements covers the core-version boundary. The WordPress Version Checker shows which release a site reveals.

Found your version, but not the time to test it? That’s our day job. Our WordPress PHP update service coordinates the change with your host, checks your backups and rollback route, and tests key pages, login, forms and checkout afterward. 🤙

The upgrade test matrix

This is the list we run on staging before a site changes PHP version:

AreaWhat to test
Public siteKey templates, navigation, search, forms, media, redirects, and error pages
WordPress adminLogin, editor, media library, updates, roles, and settings
Page builderEditor loads and saves, templates, popups, global styles, and responsive views
CommerceProduct, cart, checkout, tax, shipping, payment callbacks, emails, and refunds
Scheduled workWP-Cron, queues, imports, backups, and cache invalidation
IntegrationsCRM, SMTP, analytics, APIs, webhooks, multilingual, and consent tools
DiagnosticsPHP and WordPress debug logs, web-server logs, deprecations, fatals, and warnings
RecoveryBackup restore and host-level PHP rollback

A clean homepage is not enough evidence. The checkout is where a PHP switch costs real money.

How to check and change your PHP version

Check your current version

  1. In WordPress: open Tools, then Site Health, then the Info tab, and expand Server. The PHP version is listed there.
  2. In your hosting panel: the PHP version selector shows the version set for each domain.
  3. Without logging in: paste the domain into our PHP Version Checker. It reads the version when the server reports it. Many servers hide it, and “unknown” doesn’t mean the site isn’t using PHP.

Site Health and your hosting panel are the stronger sources for your own site. If WordPress thinks your PHP is too old, the dashboard tells you too, with a “PHP Update Recommended” or “PHP Update Required” notice.

Change the PHP version

WordPress.org directs site owners to their host for this change. Once you’ve picked a branch, our step-by-step guide to updating PHP in WordPress covers cPanel, managed hosts and what to check before using the selector.

Production rollout

When we moved from PHP 8.4 to 8.5, we started with simple sites, followed with more complex sites and left the stores until last. For each site, our rollout follows this order.

  1. List the plugins, custom code and integrations the site depends on. Confirm which version you will move to and which fallback the host can provide with current security fixes.
  2. Restore the backup on staging, isolate mail and payments, then apply the planned WordPress and plugin updates. Switch staging to the target PHP version and run the test matrix above.
  3. Resolve errors there first. Switch the live site at a quiet time with a fresh backup, repeat its critical checks and watch the next scheduled job.

If a critical action that worked before the PHP switch now fails, switch the domain back in the hosting panel if the host still offers the previous runtime with current security fixes and the installed code supports it. Leave the live database in place so new orders and edits survive. Check the failing action again, then investigate its log entry on staging. The rollback section of our PHP update guide covers changes that also touched the database. The WordPress critical error recovery guide explains how to identify the failing plugin, theme or snippet.

What about PHP 8.6?

PHP 8.6.0 was released on 19 November 2026, with active support until 31 December 2028 and security fixes until 31 December 2030. The WordPress compatibility table doesn’t list PHP 8.6 yet (checked 20 November 2026), so WordPress core hasn’t rated any WordPress version on it. Our 25 live sites run PHP 8.5. Like every year, we’ll try 8.6 on our own sites before we recommend it to anyone.

Summary: PHP 8.5 is our pick for WordPress

For a maintained WordPress site in 2026, PHP 8.5 is the version we recommend and the version we run. PHP 8.4 is the fallback, PHP 8.3 is the floor, and PHP 8.2 or older needs a move before 31 December 2026.

Need help moving your site? Our WordPress PHP update service handles a one-off change, our WordPress care service covers PHP compatibility checks and host coordination as part of ongoing care, or just get in touch with Web Aloha.

If you’d rather stop chasing a PHP upgrade every year, there’s another path. See how a stack with no PHP compares in WordPress vs Astro for business, or how a WordPress to Astro migration works.

Related guides: the WordPress hub collects our WordPress care and PHP guides and free WordPress tools.

Recommended tools for this guide

Useful info? Spread the Aloha:

Lucky Oleg

Lucky Oleg is the founder of Web Aloha, a web design & SEO agency helping businesses ride the digital wave. With years of experience in WordPress, technical SEO, and web performance, he writes about what actually works in the real world.