Compatibility Edit

WordPress, PHP, MySQL / MariaDB versions

The relationship between WordPress, PHPPHP 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. and MySQLMySQL 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. / MariaDBMariaDB 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. is very close, and it is very important that the versions of both technologies match for proper operation. These matrix are focused on information for hostingHosting 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. companies and sysadmins.

[tip]If you are a developer, you will also be interested in the PHP Compatibility and WordPress Versions document from the CoreCore Core is the set of software required to run WordPress. The Core Team builds WordPress. team.[/tip]

This table shows the versions available (and security supported) at the time of the WordPress release. It does not mean that WordPress provided 100% full support for those versions (but usually does).

WordPress PHP MySQL MariaDB Launch date
WordPress 6.0 PHP 7.4 – 8.1 MySQL 5.7 – 8.0 MariaDB 10.3 – 10.7 2022-05-24
WordPress 5.9 PHP 7.4 – 8.1 MySQL 5.7 – 8.0 MariaDB 10.2 – 10.6 2022-01-25
WordPress 5.8 PHP 7.3 – 8.0 MySQL 5.7 – 8.0 MariaDB 10.2 – 10.6 2021-07-20
WordPress 5.7 PHP 7.3 – 8.0 MySQL 5.7 – 8.0 MariaDB 10.2 – 10.5 2021-03-09
WordPress 5.6 PHP 7.3 – 8.0 MySQL 5.7 – 8.0 MariaDB 10.2 – 10.5 2020-12-08
WordPress 5.5 PHP 7.2 – 7.4 MySQL 5.7 – 8.0 MariaDB 10.2 – 10.5 2020-08-11
WordPress 5.4 PHP 7.2 – 7.4 MySQL 5.6 – 8.0 MariaDB 10.2 – 10.4 2020-03-31
WordPress 5.3 PHP 7.2 – 7.4 MySQL 5.6 – 8.0 MariaDB 10.2 – 10.4 2019-11-12
WordPress 5.2 PHP 7.1 – 7.3 MySQL 5.6 – 8.0 MariaDB 10.1 – 10.3 2019-05-07
WordPress 5.1 PHP 7.1 – 7.3 MySQL 5.6 – 8.0 MariaDB 10.1 – 10.3 2019-02-21
WordPress 5.0 PHP 7.1 – 7.3 MySQL 5.6 – 8.0 MariaDB 10.1 – 10.3 2018-12-06
WordPress 4.9 PHP 7.0 – 7.2 MySQL 5.5 – 5.7 MariaDB 10.0 – 10.2 2017-11-15
WordPress 4.8 PHP 5.6 – 7.1 MySQL 5.5 – 5.7 MariaDB 10.0 – 10.2 2017-06-08
WordPress 4.7 PHP 5.6 – 7.1 MySQL 5.5 – 5.7 MariaDB 5.5 – 10.1 2016-12-06
WordPress 4.6 PHP 5.6 – 7.0 MySQL 5.5 – 5.7 MariaDB 5.5 – 10.1 2016-08-16
WordPress 4.5 PHP 5.6 – 7.0 MySQL 5.5 – 5.7 MariaDB 5.5 – 10.1 2016-04-12
WordPress 4.4 PHP 5.5 – 7.0 MySQL 5.5 – 5.7 MariaDB 5.5 – 10.1 2015-12-08
WordPress 4.3 PHP 5.5 – 5.6 MySQL 5.5 – 5.6 MariaDB 5.5 – 10.0 2015-08-18
WordPress 4.2 PHP 5.4 – 5.6 MySQL 5.5 – 5.6 MariaDB 5.5 – 10.0 2015-04-23
WordPress 4.1 PHP 5.4 – 5.6 MySQL 5.5 – 5.6 MariaDB 5.5 – 10.0 2014-12-17
WordPress 4.0 PHP 5.4 – 5.6 MySQL 5.5 – 5.6 MariaDB 5.5 – 10.0 2014-09-04
WordPress 3.9 PHP 5.3 – 5.5 MySQL 5.5 – 5.6 MariaDB 5.5 – 10.0 2014-04-16
WordPress 3.8 PHP 5.3 – 5.5 MySQL 5.5 – 5.6 MariaDB 5.5 2013-12-12
WordPress 3.7 PHP 5.3 – 5.5 MySQL 5.5 – 5.6 MariaDB 5.5 2013-10-24

Top ↑

Changelog

  • 2022-06-06: Delete MariaDB 10.2
  • 2022-06-02: Published from GithubGitHub GitHub is a website that offers online implementation of git repositories that can can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner.

Last updated: