WordPress 7.0 PHP Requirements Explained
WordPress 7.0 changes the PHP baseline for WordPress site owners, developers, and hosting users. The most important point is simple: WordPress 7.0 no longer supports PHP 7.2 or PHP 7.3. The new minimum supported PHP version is PHP 7.4, while the recommended version for a modern WordPress setup is PHP 8.3 or greater.
That difference between “minimum supported” and “recommended” matters. A site may technically run on PHP 7.4, but that does not mean PHP 7.4 is the best choice for security, performance, plugin compatibility, or long-term maintenance.
This guide explains the WordPress 7.0 PHP requirements in plain language, including which PHP versions work, which versions to avoid, how to check your current PHP version, and how to upgrade safely without breaking your website.
WordPress 7.0 requires PHP 7.4 or higher, but PHP 8.3 or greater is the recommended version for modern WordPress hosting. PHP 7.2 and PHP 7.3 are no longer supported in WordPress 7.0. Before changing PHP versions, back up your site, test on staging, update plugins and themes, check forms and checkout, then switch PHP on the live site during a low-traffic period.
WordPress 7.0 PHP Requirements at a Glance
Here is the simple version of the WordPress 7.0 PHP requirement:
| PHP Version | WordPress 7.0 Status | Recommendation |
|---|---|---|
| PHP 8.5 | Supported | Use only if your hosting, plugins, and theme are fully tested with it. |
| PHP 8.4 | Supported | Good for modern sites after plugin and theme compatibility testing. |
| PHP 8.3 | Supported and recommended | Best default choice for most updated WordPress sites. |
| PHP 8.2 | Supported | Acceptable if your host or plugins are not ready for PHP 8.3 yet. |
| PHP 8.1 | Supported | Usable, but not the best long-term target. |
| PHP 8.0 | Supported | Upgrade soon if possible. |
| PHP 7.4 | Minimum supported | Only use temporarily. Move to PHP 8.3+ when your site is ready. |
| PHP 7.3 or older | Not supported by WordPress 7.0 | Upgrade PHP before trying to update to WordPress 7.0. |
The safest practical target for most website owners is PHP 8.3. It gives you a modern baseline without forcing you onto the newest PHP version before your plugins, themes, and hosting stack are fully tested.
Minimum Supported vs Recommended PHP Version
Many website owners get confused because WordPress has both a minimum supported version and a recommended version.
The minimum supported PHP version means WordPress 7.0 should be able to run on that version. For WordPress 7.0, that minimum is PHP 7.4.
The recommended PHP version is the version WordPress.org suggests for a safer, faster, and more modern hosting environment. For current WordPress installations, that recommendation is PHP 8.3 or greater.
So, while WordPress 7.0 can run on PHP 7.4, website owners should not treat PHP 7.4 as the ideal version. It is better to see PHP 7.4 as a temporary compatibility floor, not a long-term hosting target.
Why WordPress 7.0 Dropped PHP 7.2 and PHP 7.3
WordPress 7.0 dropped support for PHP 7.2 and PHP 7.3 because those versions are outdated and no longer a strong foundation for modern WordPress development. Old PHP versions make it harder for WordPress core, plugin developers, theme developers, and hosting providers to maintain secure and reliable software.
For website owners, this change is a signal to review the hosting environment. If your site is still running PHP 7.2 or PHP 7.3, you should upgrade PHP before attempting the WordPress 7.0 update.
If you are preparing a full update, read the FyrePress guide on how to safely update to WordPress 7.0 without breaking your site.
Best PHP Version by Website Type
The best PHP version for WordPress 7.0 depends on your website type, plugin stack, hosting provider, and risk level.
| Website Type | Best PHP Target | Why It Fits |
|---|---|---|
| Simple blog | PHP 8.3 | Most simple blogs can run well on the recommended modern PHP version after plugin updates. |
| Small business website | PHP 8.3 | Good balance of performance, compatibility, and long-term maintainability. |
| WooCommerce store | PHP 8.2 or 8.3 after staging tests | Checkout, payments, shipping, subscriptions, and order emails must be tested before switching. |
| Membership or LMS website | PHP 8.2 or 8.3 after user-role testing | Login, protected content, course access, subscriptions, and dashboards need careful checks. |
| Custom-coded WordPress site | PHP 8.3 after developer review | Custom themes, plugins, hooks, and older PHP functions may need code fixes. |
| Old site with abandoned plugins | PHP 7.4 only as a temporary step | Upgrade plugins, replace abandoned tools, then move to PHP 8.3 when stable. |
How PHP Version Affects WordPress Performance
PHP powers WordPress on the server. Every time WordPress generates a page, loads plugins, runs theme functions, processes forms, or handles checkout, PHP is involved.
A modern PHP version can improve:
- Server response time
- Admin dashboard speed
- Plugin execution
- WooCommerce checkout performance
- Theme rendering
- Background tasks and cron jobs
- Overall hosting efficiency
PHP is not the only factor behind WordPress speed, but it is an important foundation. A heavy theme, slow hosting, oversized images, poor caching, and too many plugins can still make a PHP 8.3 site slow. But running a modern PHP version gives your site a better starting point.
For a broader optimization workflow, read the FyrePress guide on Core Web Vitals for WordPress.
How to Check Your Current PHP Version in WordPress
You can check your WordPress PHP version from the dashboard without touching server files.
- Log in to your WordPress admin dashboard.
- Go to Tools > Site Health.
- Open the Info tab.
- Expand the Server section.
- Look for the PHP version listed there.
You can also check PHP version from your hosting control panel. In cPanel, Plesk, DirectAdmin, or a managed hosting dashboard, it may appear under PHP Selector, MultiPHP Manager, PHP Settings, or Server Information.
How to Know If Your Site Is Ready for PHP 8.3
Before moving to PHP 8.3, check whether your website is ready. The main risk usually comes from old plugins, old themes, custom code, or abandoned tools that use outdated PHP functions.
Check these areas first:
- WordPress core is updated or ready to update
- All active plugins are updated
- The active theme is updated
- The child theme does not contain old PHP code
- WooCommerce and payment plugins support modern PHP
- Backup and security plugins are current
- Page builder plugins have recent compatibility updates
- Custom snippets do not use deprecated PHP functions
If your site relies on a plugin that has not been updated for years, replace it before switching to a modern PHP version. Old plugins may work on older PHP but fail on PHP 8.x.
Safe PHP Upgrade Process for WordPress 7.0
Do not change your live PHP version without a backup. A PHP upgrade can break a site instantly if a plugin or theme is incompatible.
1. Take a Full Backup
Create a full website backup before changing PHP. The backup should include files, database, uploads, themes, plugins, wp-config.php, and the .htaccess file if your site uses Apache or LiteSpeed.
2. Create a Staging Site
Use a staging copy to test PHP 8.3 before changing the live site. A staging site lets you find compatibility problems without affecting visitors, customers, or search engines.
If you prefer local testing, read the FyrePress guide on how to host WordPress locally.
3. Update Plugins and Themes
Update your plugins and themes before switching PHP. Developers often release compatibility updates for newer PHP versions, so running old plugin versions increases the risk of errors.
4. Switch PHP on Staging First
Change the staging site to PHP 8.3 from your hosting panel. Then test the site carefully. Do not rely only on the homepage.
5. Check Important Site Functions
After switching PHP on staging, test:
- Homepage
- Blog posts
- Important landing pages
- Contact forms
- Login page
- Admin dashboard
- Block editor or page builder editor
- WooCommerce checkout if used
- Search and archive pages
- Mobile menu
6. Check Error Logs
Even if the site looks fine, check the PHP error logs. Warnings and deprecated notices can show future problems before users notice them.
7. Switch PHP on the Live Site
After staging is clean, switch the live site to PHP 8.3 during a low-traffic period. Then clear cache and test the same important pages again.
Common PHP Errors After Updating
If your site breaks after changing PHP versions, the issue is usually related to plugin, theme, or custom code compatibility.
| Error or Problem | Likely Cause | What to Do |
|---|---|---|
| White screen of death | Fatal PHP error from plugin or theme | Check error logs and disable the failing plugin or theme. |
| Critical error message | Incompatible code after PHP upgrade | Use WordPress recovery mode or disable plugins through file manager. |
| 500 Internal Server Error | Server rule, PHP directive, or incompatible code | Check error logs, .htaccess, and recent PHP changes. |
| Checkout broken | WooCommerce extension or payment plugin conflict | Disable caching on checkout and update payment-related plugins. |
| Editor not loading | Plugin conflict, REST API issue, or JavaScript error | Check browser console, REST API status, and editor-related plugins. |
| Deprecated warnings | Old code using outdated PHP functions | Update or replace the plugin, theme, or custom snippet causing the warning. |
Should You Use PHP 8.4 or PHP 8.5 With WordPress 7.0?
WordPress 7.0 supports newer PHP versions, but the newest version is not always the safest default for every production website. Many plugins and themes take time to fully test against the newest PHP releases.
For most website owners, PHP 8.3 is the best practical target. Use PHP 8.4 or PHP 8.5 only when your hosting provider, theme, plugins, and custom code are confirmed to work correctly with that version.
For developers and staging environments, testing on newer PHP versions is useful. For business-critical live websites, stability matters more than being first.
PHP 7.4: Supported but Not Ideal
PHP 7.4 is the minimum supported PHP version for WordPress 7.0, but that does not make it a good long-term choice. If your site only works on PHP 7.4, treat that as a warning sign.
You may need to:
- Replace abandoned plugins
- Update your theme
- Fix custom PHP snippets
- Upgrade WooCommerce extensions
- Move to better hosting
- Test the site on staging with PHP 8.3
A WordPress site that cannot run on modern PHP may become harder to secure, maintain, and optimize over time.
Other Server Requirements for WordPress 7.0
PHP is important, but it is not the only server requirement. A modern WordPress 7.0 setup should also use a current database version, HTTPS, and a properly configured web server.
| Requirement | Recommended Setup | Why It Matters |
|---|---|---|
| PHP | PHP 8.3 or greater | Improves performance, security, and long-term compatibility. |
| Database | MySQL 8.0+ or MariaDB 10.6+ | Stores posts, pages, users, settings, orders, and plugin data. |
| HTTPS | Required | Protects visitor data and supports modern browser expectations. |
| Web server | Apache or Nginx | Handles website requests and server routing. |
| Rewrite support | Apache mod_rewrite or equivalent Nginx rules | Needed for clean URLs and permalink handling. |
If your site uses Apache or LiteSpeed, your .htaccess file may also affect redirects and permalinks. You can read the FyrePress WordPress .htaccess guide before making server-level changes.
PHP Upgrade Checklist for WordPress 7.0
Use this checklist before changing PHP for a WordPress 7.0 site:
- Check your current PHP version.
- Confirm your hosting supports PHP 8.3 or greater.
- Take a full website backup.
- Create a staging copy.
- Update WordPress, plugins, and themes.
- Replace abandoned plugins.
- Check custom code snippets.
- Switch PHP on staging first.
- Test pages, forms, login, checkout, and admin screens.
- Check PHP error logs.
- Switch PHP on live during low traffic.
- Clear all cache layers.
- Monitor the site after the change.
What If Your Host Does Not Support PHP 8.3?
If your hosting provider does not support PHP 8.3 or greater, ask them when it will be available. A modern WordPress host should offer current PHP versions and make it easy to switch between versions safely.
If your host only offers old PHP versions, that can limit your site’s future. It may also make it harder to keep WordPress, plugins, and themes secure over time.
For a serious business website, hosting should not hold your WordPress site back. Look for hosting that supports modern PHP, current database versions, HTTPS, backups, staging, caching, and proper server configuration.
Final Recommendation
For WordPress 7.0, PHP 7.4 is the minimum supported version, but PHP 8.3 or greater is the recommended target. Most website owners should aim for PHP 8.3 because it offers a strong balance between compatibility, performance, and long-term support.
Do not change PHP versions directly on a live site without preparation. Back up the site, test on staging, update plugins and themes, check error logs, and confirm important workflows before switching the live site.
The safest mindset is simple: WordPress 7.0 is the software update, but PHP is the server foundation underneath it. Keep both modern, and your website will be easier to secure, maintain, and optimize.
Frequently Asked Questions
What PHP version does WordPress 7.0 require?
WordPress 7.0 requires PHP 7.4 or higher. However, WordPress.org recommends PHP 8.3 or greater for a modern hosting environment.
Does WordPress 7.0 support PHP 7.2?
No. WordPress 7.0 does not support PHP 7.2. Sites still using PHP 7.2 need to upgrade PHP before updating to WordPress 7.0.
Does WordPress 7.0 support PHP 7.3?
No. PHP 7.3 support was dropped in WordPress 7.0. The minimum supported PHP version is now PHP 7.4.
Is PHP 7.4 good enough for WordPress 7.0?
PHP 7.4 is the minimum supported version, but it is not the best long-term choice. PHP 8.3 or greater is recommended for better security, performance, and future compatibility.
What is the best PHP version for WordPress 7.0?
For most updated WordPress websites, PHP 8.3 is the best practical target. It is modern, recommended, and generally safer than jumping to the newest PHP version without testing.
Can changing PHP break my WordPress site?
Yes. A PHP version change can break a site if plugins, themes, custom code, or WooCommerce extensions are incompatible. Always test PHP changes on staging first.
How do I check my PHP version in WordPress?
Go to Tools > Site Health > Info > Server in your WordPress dashboard. You can also check from your hosting control panel.
Should I update PHP before updating to WordPress 7.0?
If your site is running PHP 7.2 or PHP 7.3, yes. You need PHP 7.4 or higher for WordPress 7.0. Ideally, test and move to PHP 8.3 before or during your WordPress 7.0 upgrade process.
Should WooCommerce stores use PHP 8.3?
WooCommerce stores can use PHP 8.3, but they should test first on staging. Check cart, checkout, payments, emails, subscriptions, shipping, taxes, and any custom checkout fields before changing PHP on the live store.
What should I do if my site breaks after a PHP upgrade?
Revert to the previous PHP version if available, check PHP error logs, disable the failing plugin or theme, update outdated code, and test again on staging before switching the live site back to the newer PHP version.