Title: PHP Meeting Recap &#8211; July 10th
Author: Felix Arntz
Published: July 12, 2017

---

 [  ](https://profiles.wordpress.org/flixos90/) [Felix Arntz](https://profiles.wordpress.org/flixos90/)
7:59 pm _on_ July 12, 2017     
Tags: [core-php ( 68 )](https://make.wordpress.org/core/tag/core-php/),
[PHP ( 79 )](https://make.wordpress.org/core/tag/php/), [summary ( 983 )](https://make.wordpress.org/core/tag/summary/)

# PHP Meeting Recap – July 10th

This Monday the initial weekly PHPPHP The web scripting language in which WordPress
is primarily architected. WordPress requires PHP 7.4 or higher meeting took place.
This recap is a summary of which ideas and decisions came up during that meeting,
both as a means of documenting and to provide a quick overview for those who were
unable to attend.

The meeting’s [chat log](https://wordpress.slack.com/archives/C60K3MP2Q/p1499709676075111).

Attendees: [@flixos90](https://profiles.wordpress.org/flixos90/) [@jdgrimes](https://profiles.wordpress.org/jdgrimes/)
[@joyously](https://profiles.wordpress.org/joyously/) [@mte90](https://profiles.wordpress.org/mte90/)
[@ptasker](https://profiles.wordpress.org/ptasker/) [@psykro](https://profiles.wordpress.org/psykro/)
[@schlessera](https://profiles.wordpress.org/schlessera/) [@screamingdev](https://profiles.wordpress.org/screamingdev/)
[@tfrommen](https://profiles.wordpress.org/tfrommen/)

## Chat Summary

The topic we discussed this meeting was solely the current minimum PHP version requirement
of WordPress, as it is the foundation that many code improvements are likely to 
rely on.

We came up with several ideas on how to raise awareness and increase pressure on
hosting companies to upgrade PHP in a reasonable manner. We did not discuss these
in detail yet, it was mostly a brainstorming session. Here is a list of what we 
came up with:

 * The first item has already been around (see [#41191](https://core.trac.wordpress.org/ticket/41191)):
   There should be a nag in the WordPress adminadmin (and super admin) dashboard
   indicating that an unsupported PHP version is being used. Security and performance
   are two examples of how to make an upgrade attractive to users. The most important
   part though will be to make it understandable and reasonable to people not tech-
   savvy.
 * The second item also exists already (see [#40934](https://core.trac.wordpress.org/ticket/40934)):
   It should be possible to specify a minimum required PHP version for plugins. 
   Once this is supported by coreCore Core is the set of software required to run
   WordPress. The Core Development Team builds WordPress., it is likely that more
   plugins will raise their minimum requirement, so it will eventually be another
   way to make people aware. It should probably only happen in combination with 
   the point above though, since otherwise there would not be a clear explanation
   of what PHP even is and why a supported version matters.
 * Related to displaying an admin notice, it could be valuable to gather data on
   which sites the notice appears to make a solid case for the business benefits
   of upgrading. However there were concerns expressed about privacy. The good part
   is that WordPress already collects some information during the update APIAPI 
   An API or Application Programming Interface is a software intermediary that allows
   programs to interact with each other and share data in limited, clearly defined
   ways. requests and we could use some of that data to evaluate. A GitHubGitHub
   GitHub is a website that offers online implementation of git repositories that
   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 by the repository owner. [https://github.com/](https://github.com/)
   repository could be used to document the results.
 * Until core provides a solution, every 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. developer should consider showing
   a nag about the PHP version itself in case the plugin requires a higher version.
   This implies that the plugin’s main file must be PHP 5.2-parseable, even if the
   rest of the codebase requires a higher PHP version. Plugins that simply use modern
   PHP syntax in the main file provide a bad user experience by deliberately causing
   a fatal error and do not educate users about why the plugin does not work. There
   is a [library by Yoast](https://github.com/Yoast/whip) that can easily be integrated
   into any plugin and even provides more help than simply saying that the PHP version
   is outdated. It even makes sense to be integrated if the plugin supports PHP 
   5.2, in order to raise awareness, and the PHP versions for which it shows can
   be manually set by the plugin integrating it.
 * It could be helpful to have an article about the issues with a title like “Your
   WordPress might be insecure” and have that post appear in the admin dashboard
   news feed. This would be an easy way to raise at least some awareness and would
   not even require a WordPress update.
 * We could also reach out to the authors of very popular plugins and ask them to
   publish a post about the topic. It would reach a lot of WordPress users, also
   via newsletter.
 * The topic could be addressed in WordPress meetups around the globe. If you are
   a meetupMeetup All local/regional gatherings that are officially a part of the
   WordPress world but are not WordCamps are organized through [https://www.meetup.com/](https://www.meetup.com/).
   A meetup is typically a chance for local WordPress users to get together and 
   share new ideas and seek help from one another. Searching for ‘WordPress’ on 
   meetup.com will help you find options in your area. organizer, consider bringing
   up this topic to educate people why they should upgrade and how to do it.

In addition to the above ideas we took the second half of the meeting to take a 
closer look at [#41191](https://core.trac.wordpress.org/ticket/41191) and think 
a bit more about the details of how the admin nag should work. These are the results
of our discussion and the rough plan going forward:

 * The notice should recommend to jump to a PHP version >= 5.6. In addition it should
   highlight that jumping to a version >= 7.0 would be even better (especially for
   performance), but also carefully indicate that outdated plugins might have a 
   higher chance of not working there properly.
 * The notice should initially only show on PHP 5.2 setups. While we want sites 
   to go to a maintained version, this is a huge task and for WordPress to raise
   the minimum required PHP version it is most important at this point to decrease
   the number of sites running on PHP 5.2. Only showing it on 5.2 setups instead
   of everywhere below 5.6 will also reduce the support burden for hosts. Over time,
   once we are satisfied we can iterate to show the nag on higher versions as well,
   until we reach 5.5.
 * Once the number of PHP 5.2 sites is low enough, we can bump WordPress core’s 
   minimum requirement to PHP 5.3. While that version is still outdated, the language-
   specific features of that version justify an upgrade more than any of the other
   planned upgrades, and furthermore the bump is already drastic enough like that.
   Jumping from PHP 5.2 to PHP 5.6 would likely result in a disaster. Again, over
   time we can iterate and bump the requirements until we reach a supported PHP 
   version.
 * Once we are convinced that the time is right to move away from PHP 5.2, it would
   make sense to set up a clear roadmap for the subsequent version bumps. This gives
   hosts as well as developers a solid plan and overview so that they are prepared.
 * We still need to figure out which specific goal we should set, in order to determine
   when to bump the minimum requirement of WordPress to PHP 5.3. This will be a 
   topic in a future meeting.

## Next week’s meeting

The next meeting will take place on [Monday 18:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20261116T1800),
and we will continue talking about the PHP version bump and related plans there 
with the goal of figuring out which of our ideas are realistic and which timeframe
we should be prepared for. If you have thoughts on the above or other ideas but 
cannot make the meeting, please leave a comment on this post so that we can take
it into account. See you next week!

 

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

### Share this:

 * [  Threads ](https://make.wordpress.org/core/2017/07/12/php-meeting-recap-july-10th/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2017/07/12/php-meeting-recap-july-10th/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2017/07/12/php-meeting-recap-july-10th/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2017/07/12/php-meeting-recap-july-10th/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2017/07/12/php-meeting-recap-july-10th/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2017/07/12/php-meeting-recap-july-10th/?share=linkedin)

 1.  ![](https://secure.gravatar.com/avatar/db79d5416d942e5fd9415b136feefd2da7929cc39853b4c30bafff4ceb8ef219?
     s=32&d=mm&r=g)
 2.   [Daniele Scasciafratte](https://profiles.wordpress.org/mte90/)  9:14 pm _on_ 
     July 12, 2017
 3.  Keep pushing for a secure and modern web also server-side 😀
 4.  ![](https://secure.gravatar.com/avatar/75c4d446cd388f02114d4a98899108486b29eb75b3e3907a748a74c745f3e954?
     s=32&d=mm&r=g)
 5.   [Sudar Muthu](https://profiles.wordpress.org/sudar/)  3:37 am _on_ July 13, 2017
 6.  Very happy to see some real talk with action plans for increasing the minimum 
     PHPPHP The web scripting language in which WordPress is primarily architected.
     WordPress requires PHP 7.4 or higher version in WordPress
 7.  ![](https://secure.gravatar.com/avatar/a436ab0e9c96432f9852e6c89a6efba387bbbd837e6f3eb29d1c97edad80f6ec?
     s=32&d=mm&r=g)
 8.   [Drivingralle](https://profiles.wordpress.org/drivingralle/)  1:38 pm _on_ July
     13, 2017
 9.  Could we show a more detailed error message if a 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. can not be activated because the
     PHPPHP The web scripting language in which WordPress is primarily architected.
     WordPress requires PHP 7.4 or higher version is to low? That maybe link to a page
     on .org that informs about the topic.
 10. I think for all the effort going into updating and informing so many people the
     jump should be to more then 5.3. Otherwise we start all over again in a few month
     and waste a lot of people hours again.
 11. —–
 12. I’m not sure if it was already done, but how many plugins inside the repo are 
     ready for PHP 7.0 or 7.1?
      Maybe we could scan the repo and notify all authors
     that there plugins are not future-proof. Also we could hide plugins that are not
     PHP 7.x ready from search results to make sure newly created sites are already
     safe to change the PHP version as soon as the hoster enables it.
 13.  * ![](https://secure.gravatar.com/avatar/7d4e6978df89809d15df65aac619677de2180d4e0ec5a613aece7c9e7103324d?
        s=32&d=mm&r=g)
      *  [J.D. Grimes](https://profiles.wordpress.org/jdgrimes/)  4:23 pm _on_ July
        13, 2017
      * The people should update to more than 5.3, yes, but telling everybody on older
        versions to update at once will cause huge problems for everyone. We would 
        start by telling the people on 5.2 _to update to 5.6+_, and then move on to
        the folks on 5.3, etc.
      * —-
      * There was some discussion about scanning, and plugins not being ready for 7.0.
        That’s why we’re talking about 5.6+ a lot: some plugins might not be compatible
        with PHPPHP The web scripting language in which WordPress is primarily architected.
        WordPress requires PHP 7.4 or higher 7.
 14. ![](https://secure.gravatar.com/avatar/ea098712583c160c0f16a813f0455179f08d61e222303221f13bcb7eea9a15ee?
     s=32&d=mm&r=g)
 15.  [Milan Dinić](https://profiles.wordpress.org/dimadin/)  6:30 pm _on_ July 16,
     2017
 16. > There should be a nag in the WordPress adminadmin (and super admin) dashboard
     > indicating that an unsupported PHPPHP The web scripting language in which WordPress
     > is primarily architected. WordPress requires PHP 7.4 or higher version is being
     > used.
 17. Will that nag be just on the latest 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". or backported to older too?
 18. > It should be possible to specify a minimum required PHP version for plugins.
 19. This was discussed many times, but shouldn’t developers also have stats with breakdown
     of PHP versions for each WP version to help them settle on specific PHP version?
 20. > The notice should recommend to jump to a PHP version >= 5.6. In addition it 
     > should highlight that jumping to a version >= 7.0 would be even better (especially
     > for performance), but also **carefully indicate that outdated plugins might 
     > have a higher chance of not working there properly**.
 21. That might scare people of going to >= 7.0 though it’s not sure how high that 
     chance is. Stats report that 13% of sites already use >= 7.0, it’s over year and
     half old so we can assume that some problems are already discovered.
 22. > Once we are convinced that the time is right to move away from PHP 5.2, it would
     > make sense to set up a clear roadmap for the subsequent version bumps. This 
     > gives hosts as well as developers a solid plan and overview so that they are
     > prepared.
 23. I suggest making clear message that we don’t want to settle just on specific version,
     and instead encourage hosts/control panels to build configurations where new version
     could be added easier by them and switched to simply by users. Some hosts/control
     panels already do that but we should encourage other as well.

Comments are closed.

# Post navigation

[← Dev Chat Agenda for July 12th (4.8.1 week 4)](https://make.wordpress.org/core/2017/07/12/dev-chat-agenda-for-july-12th-4-8-1-week-4/)

[Dev Chat Summary: July 12th (4.8.1 week 4) →](https://make.wordpress.org/core/2017/07/13/dev-chat-summary-july-12th-4-8-1-week-4/)