Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A PHP update changes the server-side runtime that executes WordPress, your theme, plugins, and custom code. Many sites continue working normally, but core compatibility does not guarantee that every extension or integration is ready. Before the host changes PHP, confirm the target version, update and test your stack, make a restorable backup, and agree on a rollback plan.

What PHP does on a WordPress site

PHP is the programming language runtime used on the web server to generate WordPress pages, process logins, run plugin features, and execute theme and custom-code logic. PHP is configured at the hosting-server level, so the exact control panel path—or whether you can change it yourself—depends on your provider.

WordPress.org puts it plainly: “As the PHP version is set at the server level by your hosting company, updating involves either interacting with your host’s settings or asking them to do it.” A host may apply a change per site, account, server, or hosting plan. Do not assume that an email about an upgrade means every account is changed in the same way.

What can change after a PHP upgrade?

WordPress core

WordPress core has documented compatibility ranges, but those ranges describe the core software itself. As of September 30, 2026, WordPress.org recommends PHP 8.3 or greater. The May 2026 core clarification distinguishes that from the minimum supported version: PHP 7.4 has been the minimum supported version since WordPress 7.0. “Recommended” and “supported” are different thresholds; a site can remain supported on an older branch without that branch being the preferred production target.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Themes, plugins, and custom code

Every active theme and plugin adds PHP code, and many sites also contain snippets, mu-plugins, integrations, or bespoke applications. WordPress cautions that it cannot guarantee every theme or plugin will work with a new PHP version. A compatibility matrix for WordPress core therefore cannot certify your complete site.

Behavior and performance

A newer supported PHP branch can remove deprecated behavior, expose coding errors, or alter how edge cases are handled. WordPress.org says an update can be “up to 3 or 4x faster for older versions,” but that is the guide’s qualified claim, not a measured promise for every WordPress installation. Actual speed depends on code, caching, database work, hosting hardware, and configuration.

Choosing a sensible target version

Use the current WordPress guidance together with your installed core version, extension support, and the host’s available branches. The Hosting Handbook recommends PHP 8.4 or later for production environments and notes that PHP 8.4 is fully supported by WordPress 6.7+ and PHP 8.5 by WordPress 6.9+. Its lifecycle notes state that PHP 8.3 moved to security-only support on December 31, 2025, and PHP 8.2 reaches end of life on December 31, 2026. These lifecycle details change, so confirm them with the current handbook and your host before scheduling a change.

Version question What it tells you What it does not prove
WordPress.org recommended minimum: PHP 8.3+ The current recommended baseline for WordPress installations. That every plugin, theme, or custom integration supports 8.3+.
WordPress minimum supported floor: PHP 7.4 WordPress core has retained support for this floor since WordPress 7.0. That PHP 7.4 is a good long-term production target; it is end of life.
Hosting Handbook production recommendation: PHP 8.4+ A host-oriented recommendation for production environments. That your specific WordPress release and extensions are ready without testing.
Your installed WordPress release The compatibility matrix for that release identifies documented core compatibility. Certification of third-party or custom code.

Choose the newest branch that your WordPress release, essential extensions, custom code, and host can support with a tested rollback route. Do not select a version solely because it is the newest number or because a compatibility scanner reports no findings.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Prepare before the host changes PHP

  1. Get the change details. Ask which PHP version currently runs the site, which version will replace it, when the change will occur, whether the setting is per site, account, or server, and how to restore the prior version.
  2. Record your WordPress stack. Confirm the installed WordPress version and list active themes, plugins, mu-plugins, snippets, and external integrations. Update WordPress, themes, and plugins where appropriate, then check the site before changing PHP.
  3. Create and verify a restorable backup. Back up both files and the database. Verify that the backup can actually be downloaded or restored; a PHP rollback may not undo data or file changes made during troubleshooting.
  4. Review extension compatibility. Use WordPress.org’s PHP compatibility checker if useful, but treat its output as clues. The official guide warns that it can miss issues and produce false positives. Check each essential extension’s own support information as well.
  5. Test on staging when available. If the host provides a staging copy, run the target PHP version there first. Exercise the front page, representative posts, search, login, the administrator area, forms, and any checkout, booking, membership, import, export, or scheduled-task workflows your site depends on.
  6. Plan the observation window. Arrange time to inspect logs, front-end pages, and administrative functions immediately after the switch, and tell the host how quickly you need a rollback if a critical path fails.

How the host-side update usually works

The operation is provider-specific. Some hosts expose a PHP selector in a control panel; others change the version after a support request, and some change a server-wide default. Follow the provider’s documented path or ask support to perform it. Do not edit server configuration files unless your hosting agreement and provider documentation explicitly make you responsible for that layer.

Questions to ask support

  • What PHP version is active now, and what exact version will be enabled?
  • Will the change affect only this site, the whole account, or other sites on the server?
  • Can the target version be enabled on staging or tested temporarily first?
  • When will the change occur, and is there maintenance downtime?
  • How do I restore the prior PHP version, and how long will that option remain available?
  • What error logs or monitoring information can you provide if the site fails?

The Hosting Handbook advises: “Hosts should test their full stack before making a new PHP version the default for production environments.” That is guidance for hosts, not a guarantee that every shared-hosting customer receives staging or a customer-controlled rollback.

Check the site immediately afterward

  • Load the home page, key landing pages, posts, media, and search results.
  • Sign in and open the dashboard, editor, settings, and update screens.
  • Submit forms and test email notifications.
  • Complete the site’s highest-value transaction, such as checkout, booking, donation, or membership renewal, using an appropriate test method.
  • Review scheduled jobs, imports, feeds, webhooks, and connected services.
  • Watch server and WordPress logs for fatal errors, warnings, or repeated failures rather than relying only on whether the home page loads.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If the site breaks after the update

  1. Capture evidence. Record the visible error, affected URL or function, approximate time, recent changes, and whether the front end, dashboard, or both are unavailable. Preserve the host’s error-log entry if support can provide it.
  2. Contact the host immediately. Tell support the exact PHP version change and ask them to restore the prior version. WordPress guidance identifies changing PHP back as the first recovery measure when a version change causes failure.
  3. Restore the backup when necessary. If files or database data were changed during troubleshooting, or reverting PHP does not recover the site, restore the verified backup according to your host’s procedure.
  4. Escalate the code issue. Once the site is stable, identify the incompatible theme, plugin, snippet, or integration. Contact its developer or a qualified WordPress developer for an update or code fix before attempting the PHP upgrade again.

A rollback is not proof that the new PHP branch is unusable; it may indicate one extension or custom integration needs an update. Avoid blindly disabling plugins or editing server settings without a recovery point and a clear diagnostic reason.

Maintain the site after the change

Keep WordPress core, themes, plugins, and custom integrations maintained, and review PHP lifecycle dates periodically. The compatibility handbook lists WordPress 7.1 as compatible with PHP 7.4 and PHP 8.0 through 8.5, while identifying 7.4 and 8.0 as end-of-life branches retained for backward compatibility. That core matrix does not establish support for third-party code. Recheck the current WordPress requirements and Hosting Handbook when planning the next upgrade because support statuses and dates change.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.