{"id":188977,"date":"2026-08-16T22:32:43","date_gmt":"2026-08-16T22:32:43","guid":{"rendered":"https:\/\/make.wordpress.org\/hosting\/handbook\/compatibility\/version\/7-0\/"},"modified":"2026-08-16T23:34:33","modified_gmt":"2026-08-16T23:34:33","slug":"7-0","status":"publish","type":"handbook","link":"https:\/\/make.wordpress.org\/hosting\/handbook\/compatibility\/version\/7-0\/","title":{"rendered":"WordPress 7.0 Server Compatibility"},"content":{"rendered":"<p>The <span tabindex='0' class='glossary-item-container'>Hosting<span class='glossary-item-hidden-content'><span class='glossary-item-header'>Hosting<\/span> <span class='glossary-item-description'>A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web.<\/span><\/span><\/span> Team reviews the compatibility between each WordPress release and the <span tabindex='0' class='glossary-item-container'>server<span class='glossary-item-hidden-content'><span class='glossary-item-header'>Server<\/span> <span class='glossary-item-description'>A server is a piece of computer hardware or software that provides functionality for other programs or devices. Typical servers are database servers, file servers, mail servers, print servers, web servers, game servers, and application servers.<\/span><\/span><\/span> software it runs on: <span tabindex='0' class='glossary-item-container'>PHP<span class='glossary-item-hidden-content'><span class='glossary-item-header'>PHP<\/span> <span class='glossary-item-description'>PHP (PHP: Hypertext Preprocessor) is a general-purpose scripting language especially suited to web development. PHP code is usually processed on a web server by a PHP interpreter. On a web server, the result of the interpreted and executed PHP code would form the whole or part of an HTTP response.<\/span><\/span><\/span>, <span tabindex='0' class='glossary-item-container'>MySQL<span class='glossary-item-hidden-content'><span class='glossary-item-header'>MySQL<\/span> <span class='glossary-item-description'>MySQL is an open-source relational database management system (RDBMS). MySQL is free and open-source software under the terms of the GNU General Public License.<\/span><\/span><\/span> \/ <span tabindex='0' class='glossary-item-container'>MariaDB<span class='glossary-item-hidden-content'><span class='glossary-item-header'>MariaDB<\/span> <span class='glossary-item-description'>MariaDB is a fork of the MySQL relational database management system (RDBMS), intended to remain free and open-source software under the GNU General Public License. MariaDB intended to maintain high compatibility with MySQL, ensuring a drop-in replacement capability with library binary parity and exact matching with MySQL APIs and commands.<\/span><\/span><\/span> and the <span tabindex='0' class='glossary-item-container'>web server<span class='glossary-item-hidden-content'><span class='glossary-item-header'>Server<\/span> <span class='glossary-item-description'>A server is a piece of computer hardware or software that provides functionality for other programs or devices. Typical servers are database servers, file servers, mail servers, print servers, web servers, game servers, and application servers.<\/span><\/span><\/span>. This post covers <strong>WordPress 7.0<\/strong>, released on <strong>20 May 2026<\/strong>.<\/p>\n<p><em>This post is published retrospectively. WordPress 7.0 shipped in May 2026 and the compatibility review was not posted at the time, so the versions below describe the software landscape as it stood at the 7.0 release date rather than today. Hosts running 7.0 today should also read the WordPress 7.1 Server Compatibility post.<\/em><\/p>\n<p>Previous compatibility articles:<\/p>\n<ul>\n<li><a href=\"https:\/\/make.wordpress.org\/hosting\/2026\/05\/27\/wordpress-6-9-server-compatibility\/\">WordPress 6.9 Server Compatibility<\/a><\/li>\n<li><a href=\"https:\/\/make.wordpress.org\/hosting\/2025\/04\/16\/wordpress-6-8-server-compatibility\/\">WordPress 6.8 Server Compatibility<\/a><\/li>\n<li><a href=\"https:\/\/make.wordpress.org\/hosting\/2024\/11\/05\/wordpress-6-7-server-compatibility\/\">WordPress 6.7 Server Compatibility<\/a><\/li>\n<li><a href=\"https:\/\/make.wordpress.org\/hosting\/2024\/07\/10\/wordpress-6-6-server-compatibility\/\">WordPress 6.6 Server Compatibility<\/a><\/li>\n<\/ul>\n<p>This post focuses on new installations and on the best strategy for upgrading. It is not a discussion of how far backward compatibility reaches.<\/p>\n<h2>Hosting Team recommendations<\/h2>\n<p>For a new WordPress 7.0 installation, the recommended minimum versions are:<\/p>\n<ul>\n<li><strong>PHP<\/strong>: 8.4.x, 8.5.x<\/li>\n<li><strong>MySQL<\/strong>: 8.4.x<\/li>\n<li><strong>MariaDB<\/strong>: 10.11.x, 11.4.x, 11.8.x<\/li>\n<\/ul>\n<p>These recommendations are for <strong>new installations<\/strong>. They favour the most recent compatible versions rather than the oldest ones that still work.<\/p>\n<h3>Where do the recommendations come from?<\/h3>\n<p>The Hosting Team reviews, for each WordPress release, which versions of PHP and of the <span tabindex='0' class='glossary-item-container'>database<span class='glossary-item-hidden-content'><span class='glossary-item-header'>Database<\/span> <span class='glossary-item-description'>A database is an organized collection of data. Access to this data is usually provided by a \"database management system\" (DBMS) consisting of an integrated set of computer software that allows users to interact with one or more databases and provides access to all of the data contained in the database. Because of the close relationship between them, the term \"database\" is often used casually to refer to both a database and the DBMS used to manipulate it.<\/span><\/span><\/span> engines are still receiving security support from their own upstream projects at the time of the release, and cross-references that against the compatibility work done in WordPress <span tabindex='0' class='glossary-item-container'>Core<span class='glossary-item-hidden-content'><span class='glossary-item-header'>Core<\/span> <span class='glossary-item-description'>Core is the set of software required to run WordPress. The Core Team builds WordPress.<\/span><\/span><\/span>. A version that is end-of-life upstream is never recommended, even when WordPress still runs on it.<\/p>\n<h2>WordPress server requirements<\/h2>\n<p>WordPress supports older software for backward compatibility. The absolute minimums for WordPress 7.0 are:<\/p>\n<ul>\n<li><strong>PHP<\/strong>: 7.4+<\/li>\n<li><strong>MySQL<\/strong>: 5.5.5+<\/li>\n<li><strong>MariaDB<\/strong>: 5.5.5+<\/li>\n<\/ul>\n<p><strong>WordPress 7.0 raised the minimum required PHP version from 7.2.24 to 7.4<\/strong>, dropping support for PHP 7.2 and PHP 7.3. This is the first minimum-PHP increase since WordPress 6.6. Hosts still offering PHP 7.2 or 7.3 as a default should move those sites before upgrading them to 7.0.<\/p>\n<p>The full requirements are documented on the <a href=\"https:\/\/wordpress.org\/about\/requirements\/\">WordPress Requirements page<\/a>.<\/p>\n<h2>WordPress compatibility at the time of release<\/h2>\n<p>The following versions were available and receiving security support on 20 May 2026.<\/p>\n<h3>PHP<\/h3>\n<table>\n<thead>\n<tr>\n<th>Version<\/th>\n<th>Status at release<\/th>\n<th>End of life<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>PHP 8.5<\/td>\n<td>Active Support<\/td>\n<td>2029-12-31<\/td>\n<\/tr>\n<tr>\n<td>PHP 8.4<\/td>\n<td>Active Support<\/td>\n<td>2028-12-31<\/td>\n<\/tr>\n<tr>\n<td>PHP 8.3<\/td>\n<td>Security Support<\/td>\n<td>2027-12-31<\/td>\n<\/tr>\n<tr>\n<td>PHP 8.2<\/td>\n<td>Security Support<\/td>\n<td>2026-12-31<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>PHP 8.1 reached end of life on 31 December 2025 and was no longer supported upstream when WordPress 7.0 shipped.<\/p>\n<h3>MySQL<\/h3>\n<table>\n<thead>\n<tr>\n<th>Version<\/th>\n<th>Type<\/th>\n<th>End of life<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>MySQL 9.7<\/td>\n<td>LTS<\/td>\n<td>2034-04-21<\/td>\n<\/tr>\n<tr>\n<td>MySQL 8.4<\/td>\n<td>LTS<\/td>\n<td>2032-04-30<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>MySQL 8.0 reached end of life on 30 April 2026, three weeks before the WordPress 7.0 release. Sites still on MySQL 8.0 should be migrated to 8.4 LTS.<\/p>\n<h3>MariaDB<\/h3>\n<table>\n<thead>\n<tr>\n<th>Version<\/th>\n<th>Type<\/th>\n<th>End of life<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>MariaDB 12.2<\/td>\n<td>\u2014<\/td>\n<td>2026-05-28<\/td>\n<\/tr>\n<tr>\n<td>MariaDB 11.8<\/td>\n<td>LTS<\/td>\n<td>2028-06-04<\/td>\n<\/tr>\n<tr>\n<td>MariaDB 11.4<\/td>\n<td>LTS<\/td>\n<td>2029-05-29<\/td>\n<\/tr>\n<tr>\n<td>MariaDB 10.11<\/td>\n<td>LTS<\/td>\n<td>2028-02-16<\/td>\n<\/tr>\n<tr>\n<td>MariaDB 10.6<\/td>\n<td>LTS<\/td>\n<td>2026-07-06<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>MariaDB 10.6 was within weeks of its end-of-life date at the time of the 7.0 release and should not be used for new installations.<\/p>\n<h3>Web servers<\/h3>\n<p>The versions below were current and receiving fixes on 20 May 2026.<\/p>\n<table>\n<thead>\n<tr>\n<th>Software<\/th>\n<th>Version at release<\/th>\n<th>Released<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><span tabindex='0' class='glossary-item-container'>Apache HTTPD<span class='glossary-item-hidden-content'><span class='glossary-item-header'>Apache HTTPD<\/span> <span class='glossary-item-description'>The Apache HTTP Server, colloquially called Apache, is a free and open-source cross-platform web server software. The vast majority of Apache HTTP Server instances run on a Linux distribution, but current versions also run on Microsoft Windows, OpenVMS, and a wide variety of Unix-like systems.<\/span><\/span><\/span><\/td>\n<td>2.4.67<\/td>\n<td>2026-05-04<\/td>\n<\/tr>\n<tr>\n<td><span tabindex='0' class='glossary-item-container'>nginx<span class='glossary-item-hidden-content'><span class='glossary-item-header'>NGINX<\/span> <span class='glossary-item-description'>nginx is a web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. Nginx is free and open-source software, released under the terms of the 2-clause BSD license.<\/span><\/span><\/span><\/td>\n<td>1.30.1 (stable) \/ 1.31.0 (mainline)<\/td>\n<td>2026-05-13<\/td>\n<\/tr>\n<tr>\n<td>Angie<\/td>\n<td>1.11.5<\/td>\n<td>2026-05-15<\/td>\n<\/tr>\n<tr>\n<td><span tabindex='0' class='glossary-item-container'>LiteSpeed Web Server<span class='glossary-item-hidden-content'><span class='glossary-item-header'>LiteSpeed Web Server<\/span> <span class='glossary-item-description'>LiteSpeed Web Server (LSWS), is a proprietary web server software. The software uses the same configuration format as Apache HTTP Server and is compatible with most Apache features.<\/span><\/span><\/span><\/td>\n<td>6.3.5<\/td>\n<td>2026-03-24<\/td>\n<\/tr>\n<tr>\n<td><span tabindex='0' class='glossary-item-container'>OpenLiteSpeed<span class='glossary-item-hidden-content'><span class='glossary-item-header'>OpenLiteSpeed<\/span> <span class='glossary-item-description'>OpenLiteSpeed, is a open-source web server software. The software uses the same configuration format as Apache HTTP Server and is compatible with most Apache features.<\/span><\/span><\/span><\/td>\n<td>1.9.0.1 (latest) \/ 1.8.5 (stable)<\/td>\n<td>2026-04-22 \/ 2026-01-08<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Two of these projects ship a supported branch that is not their newest release, which matters if you would rather not follow every version. nginx maintains a stable branch alongside mainline and retires the previous stable each April, so 1.30 was the conservative choice on the 7.0 release date. OpenLiteSpeed labels 1.8.x stable and 1.9.x latest, and ships both.<\/p>\n<p>The other three do not offer that choice. Apache HTTPD patches only the newest 2.4.x, and Angie and LiteSpeed Web Server each release on a single line, so for those three the current version is the only one receiving fixes.<\/p>\n<p>Check which branch you were on rather than assuming it was current. nginx retired 1.29 on 13 May 2026, a week before WordPress 7.0 shipped, and 1.28 five weeks before that. The 1.26 and 1.27 branches had been end of life for over a year by then.<\/p>\n<h2>WordPress and PHP<\/h2>\n<p>PHP is the language WordPress is written in, and keeping it current matters for both security and performance.<\/p>\n<p><strong>WordPress 7.0 is fully compatible with PHP 7.4 (1), 8.0 (1), 8.1 (1), 8.2, 8.3, 8.4 and 8.5.<\/strong><\/p>\n<p><em>(1) These PHP versions are end-of-life and are supported by WordPress for backward compatibility only. Use of supported PHP versions is strongly recommended.<\/em><\/p>\n<p>The Core team retired the <a href=\"https:\/\/make.wordpress.org\/core\/2025\/04\/09\/php-8-support-clarification\/\">\u201ccompatible with exceptions\u201d label in April 2025<\/a> and the <a href=\"https:\/\/make.wordpress.org\/core\/2026\/05\/22\/php-support-clarification-2026\/\">\u201cbeta support\u201d label in May 2026<\/a>. Both labels were removed retroactively from all WordPress versions, so this post uses neither.<\/p>\n<h2>Related tickets<\/h2>\n<p>The minimum version bump itself:<\/p>\n<ul>\n<li><a href=\"https:\/\/core.trac.wordpress.org\/ticket\/62622\">#62622<\/a>: Increase the minimum supported version of PHP to 7.4. <em>NOTE: Closed \/ Fixed.<\/em><\/li>\n<\/ul>\n<p>PHP 8.5 support:<\/p>\n<ul>\n<li><a href=\"https:\/\/core.trac.wordpress.org\/ticket\/64322\">#64322<\/a>: Media: Adjustments for official HEIF\/HEIC support added in PHP 8.5. <em>NOTE: Closed \/ Fixed.<\/em><\/li>\n<\/ul>\n<p>Deprecation notices resolved in this release:<\/p>\n<ul>\n<li><a href=\"https:\/\/core.trac.wordpress.org\/ticket\/64864\">#64864<\/a>: Code Modernization: Fix \u201cpassing null to non-nullable\u201d deprecation from <code>previous_posts()<\/code>. <em>NOTE: Closed \/ Fixed.<\/em><\/li>\n<li><a href=\"https:\/\/core.trac.wordpress.org\/ticket\/64728\">#64728<\/a>: Toolbar: Prevent PHP deprecation warning in admin bar when a node is added with a <code>null<\/code> parent. <em>NOTE: Closed \/ Fixed.<\/em><\/li>\n<li><a href=\"https:\/\/core.trac.wordpress.org\/ticket\/64928\">#64928<\/a>: Code Modernization: Replace the deprecated <code>auto_detect_line_endings<\/code> setting. <em>NOTE: Closed \/ Fixed.<\/em><\/li>\n<\/ul>\n<p>Modernization the 7.4 minimum unblocked. <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/58874\">#58874<\/a> had been deferred since WordPress 6.8 because the null coalescing operator was not available on every supported version. Dropping PHP 7.2 and 7.3 closed it:<\/p>\n<ul>\n<li><a href=\"https:\/\/core.trac.wordpress.org\/ticket\/58874\">#58874<\/a>: Code Modernization: Consider using the null coalescing operator. <em>NOTE: Closed \/ Fixed.<\/em><\/li>\n<li><a href=\"https:\/\/core.trac.wordpress.org\/ticket\/63430\">#63430<\/a>: Code Modernization: Replace <code>isset()<\/code> ternary checks with the null coalescing operator. <em>NOTE: Closed \/ Fixed.<\/em><\/li>\n<li><a href=\"https:\/\/core.trac.wordpress.org\/ticket\/64488\">#64488<\/a>: Code Modernization: Replace <code>if<\/code> statements with the null coalescing operator. <em>NOTE: Closed \/ Fixed.<\/em><\/li>\n<li><a href=\"https:\/\/core.trac.wordpress.org\/ticket\/64497\">#64497<\/a>: Code Modernization: Utilize the spaceship operator in sort comparison logic. <em>NOTE: Closed \/ Fixed.<\/em><\/li>\n<li><a href=\"https:\/\/core.trac.wordpress.org\/ticket\/64773\">#64773<\/a>: Code Modernization: Use <code>str_starts_with()<\/code> in <code>WP_Duotone<\/code> class methods. <em>NOTE: Closed \/ Fixed.<\/em><\/li>\n<\/ul>\n<p>Worth knowing if you run the servers:<\/p>\n<ul>\n<li><a href=\"https:\/\/core.trac.wordpress.org\/ticket\/64332\">#64332<\/a>: Database: Further correct the MariaDB version check in <code>wpdb::has_cap()<\/code>. <em>NOTE: Closed \/ Fixed.<\/em><\/li>\n<li><a href=\"https:\/\/core.trac.wordpress.org\/ticket\/63697\">#63697<\/a>: <span tabindex='0' class='glossary-item-container'>Site Health<span class='glossary-item-hidden-content'><span class='glossary-item-header'>Site Health<\/span> <span class='glossary-item-description'>This WordPress functionality will perform a number of checks on your installation to detect common configuration errors and known issues, and also allows plugins and themes to add their own checks.<\/span><\/span><\/span>: Add test and debug data for opcode <span tabindex='0' class='glossary-item-container'>cache<span class='glossary-item-hidden-content'><span class='glossary-item-header'>Cache<\/span> <span class='glossary-item-description'>A cache is a component that stores data so that future requests for that data can be served faster; the data stored in a cache might be the result of an earlier computation or a copy of data stored elsewhere.<\/span><\/span><\/span>. <em>NOTE: Closed \/ Fixed.<\/em><\/li>\n<\/ul>\n<h2>Upgrading WordPress<\/h2>\n<p>For step-by-step upgrade paths from any older WordPress version, see <a href=\"https:\/\/make.wordpress.org\/hosting\/handbook\/upgrading\/\">Upgrading WordPress<\/a> in the Hosting Team handbook.<\/p>\n<hr>\n<p><em>Questions or corrections? Leave a comment below, or find us in the <a href=\"https:\/\/wordpress.slack.com\/archives\/hosting\/\">#hosting channel<\/a> of the <a href=\"https:\/\/make.wordpress.org\/chat\/\">WordPress Slack<\/a>.<\/em><\/p>\n<p><em>Page contents were AI assisted.<\/em><\/p>\n<nav class='o2-post-footer-actions'><ul class='o2-post-footer-action-row'><\/ul><div class='o2-post-footer-action-likes'><\/div><ul class='o2-post-footer-action-row'><\/ul><\/nav>","protected":false},"author":5911429,"featured_media":0,"parent":188976,"menu_order":1,"template":"","meta":{"footnotes":""},"class_list":["post-188977","handbook","type-handbook","status-publish","hentry","author-wordpressdotorg","make-7-0"],"revision_note":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/make.wordpress.org\/hosting\/wp-json\/wp\/v2\/handbook\/188977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/make.wordpress.org\/hosting\/wp-json\/wp\/v2\/handbook"}],"about":[{"href":"https:\/\/make.wordpress.org\/hosting\/wp-json\/wp\/v2\/types\/handbook"}],"author":[{"embeddable":true,"href":"https:\/\/make.wordpress.org\/hosting\/wp-json\/wp\/v2\/users\/5911429"}],"version-history":[{"count":2,"href":"https:\/\/make.wordpress.org\/hosting\/wp-json\/wp\/v2\/handbook\/188977\/revisions"}],"predecessor-version":[{"id":189027,"href":"https:\/\/make.wordpress.org\/hosting\/wp-json\/wp\/v2\/handbook\/188977\/revisions\/189027"}],"up":[{"embeddable":true,"href":"https:\/\/make.wordpress.org\/hosting\/wp-json\/wp\/v2\/handbook\/188976"}],"wp:attachment":[{"href":"https:\/\/make.wordpress.org\/hosting\/wp-json\/wp\/v2\/media?parent=188977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}