PHP Compatibility and WordPress Versions

WordPress aims to support new versions of PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 on the day they are released as much as possible. As a project, the process of supporting these new versions begins after each new PHP version has hit feature freeze and are tagging betaBeta A pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as part of the process. versions. This prevents having to revert or make additional changes to WordPress if a planned feature is removed or the implementation changes.

Past changes to supported PHP versions have been as followed:

  • In WordPress version 4.1: Added support for PHP 5.6.
  • In WordPress 4.4: Added support for PHP 7.0 (dev note).
  • In WordPress 4.7: Added support for PHP 7.1.
  • In WordPress 4.9: Added support for PHP 7.2.
  • In WordPress 5.0: Added support for PHP 7.3 (dev note).
  • In WordPress 5.2: Dropped support for PHP 5.2, 5.3, 5.4, 5.5.
  • In WordPress 5.3: Added support for PHP 7.4 (dev note).

Supported Version Chart

WP Version5.25.35.45.55.67.07.17.27.37.48.0 (unreleased)
3.7YYYYNNNNNNN
3.8YYYYNNNNNNN
3.9YYYYNNNNNNN
4.0YYYYNNNNNNN
4.1YYYYYNNNNNN
4.2YYYYYNNNNNN
4.3YYYYYNNNNNN
4.4YYYYYYNNNNN
4.5YYYYYYNNNNN
4.6YYYYYYNNNNN
4.7YYYYYYYNNNN
4.8YYYYYYYNNNN
4.9YYYYYYYYNNN
5.0YYYYYYYYYNN
5.1YYYYYYYYYNN
5.2NNNNYYYYYNN
5.3NNNNYYYYYYN
5.4NNNNYYYYYYN
5.5NNNNYYYYYYN

Last updated: