Title: Dropping support for PHP 7.0 and 7.1
Author: John Blackbourn
Published: April 8, 2024
Last modified: June 27, 2024

---

 [  ](https://profiles.wordpress.org/johnbillion/) [John Blackbourn](https://profiles.wordpress.org/johnbillion/)
9:24 pm _on_ April 8, 2024     
Tags: [6-6 ( 57 )](https://make.wordpress.org/core/tag/6-6/),
[dev-notes ( 650 )](https://make.wordpress.org/core/tag/dev-notes/), [PHP ( 79 )](https://make.wordpress.org/core/tag/php/)

# Dropping support for PHP 7.0 and 7.1

Support for PHPPHP The web scripting language in which WordPress is primarily architected.
WordPress requires PHP 7.4 or higher 7.0 and 7.1 will be dropped in WordPress 6.6,
scheduled for release in July 2024. The new minimum supported version of PHP will
be 7.2.24. The _recommended_ version of PHP remains at 7.4 or greater.

WordPress currently supports PHP version 7.0 or greater. The minimum supported version
was last adjusted in WordPress 6.3 in August 2023, and since then usage of PHP 7.0
and 7.1 has dropped to a combined 2.45% of monitored WordPress installations [as of April 2024](https://wordpress.org/about/stats/).

There’s no concrete usage percentage that a PHP version must fall below before support
in WordPress is dropped, but historically the project maintainers have used 5% as
the baseline. Now that usage of PHP 7.0 and 7.1 combined is well below that at 2.45%,
the process to increase the minimum supported PHP version in this release can move
forward.

The benefits to increasing the minimum supported PHP version manifest over time 
and in multiple places, including within the pluginPlugin A plugin is a piece of
software containing a group of functions that can be added to a WordPress website.
They can extend functionality or add new features to your WordPress websites. WordPress
plugins are written in the PHP programming language and integrate seamlessly with
WordPress. These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
or can be cost-based plugin from a third-party. and theme ecosystem, within the 
long term perception of the WordPress project, within developer relations, and over
time within the WordPress codebase and its developer tooling.

[Discussion around this minimum version bump can be found here on the Trac ticket](https://core.trac.wordpress.org/ticket/58719).

## What about PHP 8?

WordPress coreCore Core is the set of software required to run WordPress. The Core
Development Team builds WordPress. is compatible with PHP 8.0 and 8.1 with exceptions.
Support for PHP 8.2 and PHP 8.3 is considered 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. since WordPress 6.4. [Please see the PHP Compatibility and WordPress Versions page in the handbook for full information](https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/).

## What about security support?

Sites that are running PHP 7.0 or 7.1 will remain on the 6.5 branchbranch A directory
in Subversion. WordPress uses branches to store the latest development code for 
each major release (3.9, 4.0, etc.). Branches are then updated with code for any
minor releases of that branch. Sometimes, a major version of WordPress and its minor
versions are collectively referred to as a "branch", such as "the 4.0 branch". of
WordPress which will continue receiving security updates as it does currently. [The current security policy is to support WordPress versions 4.1 and greater](https://make.wordpress.org/security/2022/09/07/dropping-security-updates-for-wordpress-versions-3-7-through-4-0/).

## What about the GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. 󠀁[https://wordpress.org/gutenberg/](https://wordpress.org/gutenberg/)󠁿 plugin?

The Gutenberg plugin, which is used for development of the blockBlock Block is the
abstract term used to describe units of markup that, composed together, form the
content or layout of a webpage using the WordPress editor. The idea combines concepts
of what in the past may have achieved with shortcodes, custom HTML, and embed discovery
into a single consistent API and user experience. editor, has a separate release
schedule from WordPress core and officially supports the two most recent releases
of WordPress. The Gutenberg development team will likely also increase the minimum
supported version of PHP to 7.2 in time for WordPress 6.6. [See this issue on the Gutenberg repo for when this was last changed in WordPress 6.3](https://github.com/WordPress/gutenberg/issues/52344).

## Going forward

There are no plans to bump the minimum supported PHP version on a schedule. The 
core team will continue to monitor usage of PHP versions and work with the hosting
team to encourage users and hosting companies to upgrade their versions of PHP as
swiftly as possible. The 5% usage baseline will continue to be used for the foreseeable
future.

[The PHP usage stats as of April 2024 look like this](https://wordpress.org/about/stats/):

 * 8.3: 1.20%
 * 8.2: 12.07%
 * 8.1: 16.34%
 * 8.0: 12.25%
 * 7.4: 42.80%
 * 7.3: 4.79%
 * 7.2: 3.80%
 * 7.1: 0.95%
 * 7.0: 1.50%

## Update PHP today

If you need more information about PHP or how to update it, [check out this support article that explains more and guides you through the process](https://wordpress.org/support/update-php/).

_Props to all those that have contributed to this discussion recently. Thanks to_
[@chanthaboune](https://profiles.wordpress.org/chanthaboune/)_ for feedback and 
proof-reading this post_.

[#6-6](https://make.wordpress.org/core/tag/6-6/), [#dev-notes](https://make.wordpress.org/core/tag/dev-notes/),
[#php](https://make.wordpress.org/core/tag/php/)

### Share this:

 * [  Threads ](https://make.wordpress.org/core/2024/04/08/dropping-support-for-php-7-1/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2024/04/08/dropping-support-for-php-7-1/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2024/04/08/dropping-support-for-php-7-1/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2024/04/08/dropping-support-for-php-7-1/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2024/04/08/dropping-support-for-php-7-1/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2024/04/08/dropping-support-for-php-7-1/?share=linkedin)

 1.  ![](https://secure.gravatar.com/avatar/33212bff2915bd72792772a2d3203abe0402352b6be6ba65081036f10560c6e6?
     s=32&d=mm&r=g)
 2.   [David Levine](https://profiles.wordpress.org/justlevine/)  1:01 am _on_ April
     9, 2024
 3.  🥳🥳🥳 thanks [@johnbillion](https://profiles.wordpress.org/johnbillion/) for 
     all the shepherding!
 4.  ![](https://secure.gravatar.com/avatar/d08dfccb5991893613983b4652b60e434ecb6c2ce8b4bfcbbd444d7c3d541b0d?
     s=32&d=mm&r=g)
 5.   [耗子](https://profiles.wordpress.org/haozi/)  3:33 am _on_ April 10, 2024
 6.  Support this decision, PHPPHP The web scripting language in which WordPress is
     primarily architected. WordPress requires PHP 7.4 or higher 7.3 support can be
     dropped in the next major version.
 7.   * ![](https://secure.gravatar.com/avatar/a32b4c4fa59cb821c50a288a273d1593859c53ca5f90dd2a1791418c29ab7e0b?
        s=32&d=mm&r=g)
      *  [Javier Casares](https://profiles.wordpress.org/javiercasares/)  9:26 am _on_
        April 13, 2024
      * Yes, WordPress 6.7 should try to go for PHPPHP The web scripting language in
        which WordPress is primarily architected. WordPress requires PHP 7.4 or higher
        7.4 as the minimum version. If not, we are going for a PHP 5.6 situation again
        for years…
 8.  ![](https://secure.gravatar.com/avatar/9e6583bcbe4831c87f40523ded6be4ca1ad48833133bd542c4672d4ca4e54081?
     s=32&d=mm&r=g)
 9.   [Gary Jones](https://profiles.wordpress.org/garyj/)  10:43 am _on_ April 10, 
     2024
 10. What criteria is needed to increase the recommended version? WP always claims 
     compatibility with PHPPHP The web scripting language in which WordPress is primarily
     architected. WordPress requires PHP 7.4 or higher 8.0 / 8.1 (with documented exceptions
     that may never be addressed), so what’s stopping that being the recommended version?
 11.  * ![](https://secure.gravatar.com/avatar/a32b4c4fa59cb821c50a288a273d1593859c53ca5f90dd2a1791418c29ab7e0b?
        s=32&d=mm&r=g)
      *  [Javier Casares](https://profiles.wordpress.org/javiercasares/)  9:24 am _on_
        April 13, 2024
      * FYI: [WordPress 6.5 PHP Compatibility](https://make.wordpress.org/hosting/2024/04/05/wordpress-6-5-php-compatibility/)
      * On one side there is the “developers” view (using a stable non-error PHPPHP
        The web scripting language in which WordPress is primarily architected. WordPress
        requires PHP 7.4 or higher version) and on the other side there is the “hosting”
        view, where there is some try to compensate the security and hosting view of
        installations.
 12. ![](https://secure.gravatar.com/avatar/fbf8466a0f529d4a06a6305a4735bada1d58af338e6f5e84429cfbc5cfd37169?
     s=32&d=mm&r=g)
 13.  [Anton Vlasenko](https://profiles.wordpress.org/antonvlasenko/)  5:32 pm _on_
     April 11, 2024
 14. GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress.
     The editor improves the process and experience of creating new content, making
     writing rich content much simpler. It uses ‘blocks’ to add richness rather than
     shortcodes, custom HTML etc.
      [https://wordpress.org/gutenberg/](https://wordpress.org/gutenberg/)
     issue to raise the minimum supported PHPPHP The web scripting language in which
     WordPress is primarily architected. WordPress requires PHP 7.4 or higher version:
     [https://github.com/WordPress/gutenberg/issues/60680](https://github.com/WordPress/gutenberg/issues/60680)(
     done)
 15. ![](https://secure.gravatar.com/avatar/3d3b56f079e7a20a7a355adfecea48380325766fdddd404060e0528fabe0116f?
     s=32&d=mm&r=g)
 16.  [gr3g0ry1](https://profiles.wordpress.org/gr3g0ry1/)  6:23 am _on_ April 16, 
     2024
 17. Great stuff. Thank you.
 18. ![](https://secure.gravatar.com/avatar/9149875a8cf2875474223005576f7c412e7b4d07df82160adc687a8252227a5d?
     s=32&d=mm&r=g)
 19.  [Hareesh S](https://profiles.wordpress.org/hareesh-pillai/)  11:07 am _on_ April
     16, 2024
 20. Glad to know that we’re moving forward in terms of PHPPHP The web scripting language
     in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher
     support.
      This move would greatly impact developer productivity and help maintain
     a secure web. Look forward to dropping support for PHP 7.3 and 7.4 in the upcoming
     versions.
 21.  * ![](https://secure.gravatar.com/avatar/8aee43a70b961da7dd371ea903ee30c150acd35948da37ec71328d111d7e245d?
        s=32&d=mm&r=g)
      *  [Excellent Dynamics](https://profiles.wordpress.org/excellentdynamics/)  8:
        47 am _on_ July 5, 2024
      * >  Look forward to dropping support for PHPPHP The web scripting language in
        > which WordPress is primarily architected. WordPress requires PHP 7.4 or higher
        > 7.3 and 7.4 in the upcoming versions.
      * I’ve never noticed this) but what does that matter to you?
         -I understand adding
        support for 8+
         - I understand the end of support for older 7,2,
      * but not only stopping support for 7.4,but for example, make a minimal version
        8.0 for wp …conditional for version 6.8..maybe 7.0+
      * Do you know how many sites there are that still use WordPress? 3,0)
         adding
        options is ok, cool. but I don’t see joy and I don’t understand why others 
        rejoice when something is forbidden to them) and restrictions are introduced.
        This also happened with plugins that didn’t always require a higher version
        php.
      * but now you can’t install from the repository if the version is lower than 
        the one indicated in the pluginPlugin A plugin is a piece of software containing
        a group of functions that can be added to a WordPress website. They can extend
        functionality or add new features to your WordPress websites. WordPress plugins
        are written in the PHP programming language and integrate seamlessly with WordPress.
        These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
        or can be cost-based plugin from a third-party. description…and this does not
        always agree with the reality that some new functions were used from a higher
        version php
      * and maybe you really should think with your head and not with numbers, which
        means the end of support only for those who are less than 5%
         why 7.4 42.8%,
        why 7.3 4.79% and why for more new ver. as 8.1-8.2 12-16% – If everything is
        so great, why don’t they switch to version 8? update 7.3-to 7.4 it’s just a
        trend, there is no reason for it, because people receive a warning from a certain
        reoid that they need to update – it seems to me that this is the only reason
        for the update, if this message had not been there, people would have updated
        the version php?) some people do, but most of them wouldn’t even sell the value
        of it)
      * 8.3: 1.20%
         8.2: 12.07% 8.1: 16.34% 8.0: 12.25% 7.4: 42.80% 7.3: 4.79% 7.2:
        3.80% 7.1: 0.95% 7.0: 1.50%
 22. ![](https://secure.gravatar.com/avatar/49d6de7a4c37cf43fd5ee8543f108db263f1de8c76b76c4e7fa4d050fe483f1a?
     s=32&d=mm&r=g)
 23.  [Miguel Axcar](https://profiles.wordpress.org/miguelaxcar/)  8:25 pm _on_ July
     4, 2024
 24. Thank you so much [@johnbillion](https://profiles.wordpress.org/johnbillion/)!
     🎉 Your ongoing efforts to keep WordPress up-to-date and secure are deeply appreciated
     🚀👏🙌
 25. ![](https://secure.gravatar.com/avatar/2cb8ae7a20d5829104baaa06822927affd88580b79ba277f043352114d9f7f0a?
     s=32&d=mm&r=g)
 26.  [Gautam Garg](https://profiles.wordpress.org/gautammkgarg/)  12:06 am _on_ July
     5, 2024
 27. Great.
      As per PHPPHP The web scripting language in which WordPress is primarily
     architected. WordPress requires PHP 7.4 or higher Lifecycle, support for PHP version
     8.0 is already ended, and WordPress is still using old version of PHP [https://www.php.net/supported-versions.php](https://www.php.net/supported-versions.php)
 28. While developing plugins for WordPress, many times we have to use composer libraries
     which are not compatible with even php 7.4
      That’s why, we are keeping minimum
     php to 8.0 for some of our plugins.
 29. ![](https://secure.gravatar.com/avatar/4e22fde5b20ce70334982fecbb571b1aa231d69681597b37b40ecd325236146c?
     s=32&d=mm&r=g)
 30.  [Haris](https://profiles.wordpress.org/harisrozak/)  3:04 am _on_ July 8, 2024
 31. Great news! As always, thank you [@johnbillion](https://profiles.wordpress.org/johnbillion/)
     and team!
 32. ![](https://secure.gravatar.com/avatar/334ce54b62986a99bb71a19fe5451bf700cf2d62b8ddab594609aae70fe77ac0?
     s=32&d=mm&r=g)
 33.  [Česlav Przywara](https://profiles.wordpress.org/chesio/)  2:36 pm _on_ July 
     30, 2024
 34. I just noticed that the [Requirements](https://wordpress.org/about/requirements/)
     page does not reflect these changes yet:
 35. > […] WordPress also works with PHPPHP The web scripting language in which WordPress
     > is primarily architected. WordPress requires PHP 7.4 or higher 7.0+ […]
 36.  * ![](https://secure.gravatar.com/avatar/24a5ca8b960821795fd5f6c0f70ce94a84e0ee71fea4beeee394fa66995ae838?
        s=32&d=mm&r=g)
      *  [Peter Wilson](https://profiles.wordpress.org/peterwilsoncc/)  3:02 am _on_
        July 31, 2024
      * Thanks [@chesio](https://profiles.wordpress.org/chesio/), the page has been
        updated.

Comments are closed.

# Post navigation

[← Performance Chat Agenda: 9 April 2024](https://make.wordpress.org/core/2024/04/08/performance-chat-agenda-09-april-2024/)

[Speculative Loading in WordPress →](https://make.wordpress.org/core/2024/04/09/speculative-loading-in-wordpress/)