Free WordPress site audit. Public-site review and a fixed quote when work is appropriate. Request a rescue audit →

Upgrade PHP on WordPress Without Breaking the Site (2026)

Short answer. As of late 2026, PHP 8.1 is end of life (security support ended 31 December 2025). PHP 8.2 only has security fixes until 31 December 2026. For most WordPress sites the sensible target is PHP 8.3 or 8.4 after you update core, themes and plugins and test on a staging copy. Changing the PHP selector in hPanel / cPanel without that preparation is how sites go white-screen. WP Care runs PHP and plugin upgrades as scoped work — care plans from $39/mo, critical-error rescue from $149 starting price (final quote after diagnosis), hire at $25–$60/hr.

This guide is for business owners whose host is nagging them to “upgrade PHP,” or who saw Site Health flag an insecure version. It is not a promise that every abandoned plugin will survive 8.4 on the first try.

Which PHP version WordPress should run in 2026

Upstream dates from php.net (read November 2026):

  • PHP 8.5 / 8.4 — fully supported branches (8.4 security fixes through end of 2028).
  • PHP 8.3 — security fixes only (through end of 2027). Solid fallback when a plugin is not ready for 8.4.
  • PHP 8.2 — security fixes end 31 December 2026. Plan the move now.
  • PHP 8.1 and older — end of life. No official security patches. Do not leave a production site here.

WordPress core can boot on older PHP for compatibility, but “WordPress still runs” is not the same as “your stack is patched.” Check your live version under Tools → Site Health → Info → Server, or ask your host.

Why sites break when PHP jumps

  • A plugin or theme still using removed PHP functions or old syntax.
  • Page builders and “must-use” plugins that were never tested on the new branch.
  • WooCommerce, membership or booking stacks that need their own update first.
  • Changing PHP and updating ten plugins in one sitting — two variables, one failure, no clear cause.

The failure mode is often a white screen, a critical error email, or checkout/forms dying while the homepage still “looks fine.”

Safe upgrade order (do not skip steps)

  1. Full backup — files + database, off the same disk if you can. Confirm you know how to restore.
  2. Update WordPress, themes and plugins first on the current PHP. Old code is the usual breaker.
  3. Remove unused plugins and themes. Dead weight is risk.
  4. Flag abandoned plugins (years without updates, “not tested with recent WordPress”). Replace or isolate them before the PHP jump.
  5. Staging first. Clone the site, switch staging to the target PHP, click the journeys that make money (home, forms, login, cart/checkout).
  6. One variable at a time. If you are also updating WooCommerce or Elementor, finish those on the old PHP on staging, then change PHP.
  7. Production switch in a quiet window. Re-test the same journeys. Keep the host PHP selector ready to roll back.
  8. Watch the log — WP_DEBUG_LOG on staging; host error log on production after the switch.

What WP Care does on a PHP upgrade engagement

  • Inventory of PHP version, WordPress, themes, plugins and known risk items.
  • Backup + staging (or host staging) when available.
  • Updates, then PHP branch change, then smoke tests on the journeys you name.
  • Rollback plan if a plugin fatals — switch PHP back, then replace or patch the offender.
  • Optional move onto a care plan so the next security release is not another emergency.

Productized rescue if you are already broken: critical error rescue from $149 starting price. Ongoing prevention: maintenance from $39/mo. Start with a free public-site audit or email hello@wpcare.io.

Related guides

Questions people ask

What PHP version should WordPress use in 2026?

Prefer PHP 8.3 or 8.4 after testing. Avoid 8.1 and older (end of life). Treat 8.2 as temporary — its security window ends 31 December 2026.

Can I just change PHP in the hosting panel?

You can, and many hosts make it one click. Without a backup, updates and a staging check, that click is a common cause of critical errors.

Will every plugin work on PHP 8.4?

No. Abandoned or poorly maintained plugins are the usual failures. Find them before the switch, not after the white screen.

How much does a PHP upgrade cost with WP Care?

Scoped after we see the site. Simple brochure sites may sit near productized fix bands; complex WooCommerce or custom stacks get a fixed quote. Critical-error rescue starts from $149 when you are already down.

Do care plans include PHP upgrades?

Care covers the WordPress update routine on the published ladder. A major PHP branch change on a fragile stack is usually scoped separately, then the site returns to normal care.

Sources

Broken or slow WordPress? Get a free site audit and a fixed quote after review.
Free audit