WordPress PHP Version Out of Date: Update in 5 Minutes (2026)
Quick answer
WordPress requires PHP 7.4 minimum and recommends 8.2+ in 2026. Update safely in 4 steps: (1) test in staging first — never in production, (2) check plugin compatibility with PHP 8.2 (most plugins are compatible; the exceptions are old page-builders and abandoned plugins), (3) switch PHP version in your host control panel (cPanel → Select PHP Version, or your managed host's dashboard), (4) reload the site and check /wp-content/debug.log for any new fatal errors.
Why the warning matters
PHP 7.4 stopped receiving security updates in November 2022. Sites still on it are unpatched — meaning any vulnerability discovered since then is unfixed. Google, Chrome, and the WordPress ecosystem all push for PHP 8.1+ in 2026.
Updating PHP is usually 5 minutes if you test first. Skipping the test can take down the site.
Step 1 — Clone to staging
Every reputable host offers a one-click staging clone (Kinsta, WP Engine, Cloudways, SiteGround). Use it. Never update PHP directly on production unless the site is a low-traffic personal blog.
Once staged: log in, browse a few key pages (checkout, contact form, admin dashboard), confirm everything works on the current PHP version. This is your baseline.
Step 2 — Switch PHP version on staging
On cPanel: Select PHP Version → change to 8.2 → Set as current. On Kinsta/WP Engine: Tools → PHP Version → pick 8.2. On Cloudways: Server → Settings → PHP → 8.2.
Reload the site. Load the same pages you tested in Step 1. Check the browser console and /wp-content/debug.log for fatal errors.
Prefer we just fix it?
Errors like this stop happening on a proper maintenance plan — staged updates, visual regression, daily backups, and a human on-call. From $99/mo, cancel anytime. Learn more about WordPress maintenance plan or grab a slot below.
Step 3 — Find and fix incompatible plugins
If a plugin throws a fatal on PHP 8.2, the debug log names it. Options in order: (1) update the plugin to its latest version — most PHP 8 compatibility fixes shipped in 2023-2024, (2) find a maintained alternative if the plugin is abandoned, (3) as a last resort, add the plugin to a PHP compatibility shim like the PHP Compatibility Checker plugin.
The plugins that most commonly break on PHP 8+: old page builders (Visual Composer pre-6.0, old Divi versions), ancient membership plugins, and free plugins whose developer stopped updating years ago.
Step 4 — Push to production
When staging is clean on PHP 8.2, switch production PHP to the same version. Reload production, check the same pages, monitor for 24 hours. If anything acts up, roll back PHP version in the host panel — it takes 30 seconds.
When to call for help
If you don't have staging, or if you have 40+ plugins and no time to test each one, this is exactly the kind of change that should go through a care plan. We update PHP for WebCare Studios clients in a controlled staging environment and only roll it to production once every page loads clean.
Common questions
What PHP version should WordPress use in 2026?+
PHP 8.2 or 8.3. PHP 8.1 is the minimum for good plugin compatibility. Never run PHP 7.4 or older in 2026 — it's unpatched against security vulnerabilities discovered since November 2022.
How do I update PHP version for WordPress?+
In your host control panel: cPanel → Select PHP Version (change and Set as current), Kinsta/WP Engine → Tools → PHP Version, Cloudways → Server → Settings → PHP. Always test on staging first — some plugins break on PHP 8.2.
Will updating PHP break my WordPress site?+
It can if you have old or abandoned plugins. Modern well-maintained plugins are PHP 8 compatible. Test on a staging clone first, read /wp-content/debug.log for any fatals, and update or replace incompatible plugins before switching production.
Can I roll back a PHP update?+
Yes. In the same host panel where you upgraded, switch back to the previous version. Takes 30 seconds. Do this if a critical plugin breaks and you can't immediately update or replace it — then plan the plugin fix and try PHP 8.2 again.
Want help with this?
The pages below go deeper, by service and by city.
Services
Want this handled for you?
Book a call and we will review your site before recommending anything.