#46594 closed task (blessed) (fixed)
Bump PHP version requirements
Reported by: | jorbin | Owned by: | jorbin |
---|---|---|---|
Milestone: | 5.2 | Priority: | high |
Severity: | normal | Version: | |
Component: | General | Keywords: | commit |
Focuses: | Cc: |
Attachments (2)
Change History (20)
#2
in reply to:
↑ 1
@
6 years ago
Replying to jorbin:
Either of you have insights into the stats for the specific minor of 5.6 we want to use?
I pulled the stats for WP 5.x usage of PHP 5.6.x, summarised here: https://docs.google.com/spreadsheets/d/1QtChQBycXJa5helEiDCWIH6EMFR5wZUr9NdfcJQ5djQ/edit#gid=0
Basically, 54% use the latest 5.6.40
, 95% are 5.6.30
and above, and 99%
are 5.6.20
and above (I don't like how round these numbers are.. :) )
Most of the PHP 5.6 fixes after 5.6.25
seem to be security-related, and that's the point I stopped looking into it.
#3
@
6 years ago
Thanks Dion!
Barring objections or arguments, I’m fine with a 95% solution and will commit that.
#4
@
6 years ago
- Owner set to jorbin
- Resolution set to fixed
- Status changed from new to closed
In 44982:
#6
follow-up:
↓ 7
@
6 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
in #46624, @luciano-croce proposed setting the minimum as 5.6.40. Unfortunately, I think that's going in the wrong direction. As the stats point out, only 54% of 5.6.x sites are on that, so we would be eliminating a lot more sites than intended from upgrading to WordPress 5.2 by doing so. ~20% of users are already going to be left behind.
In slack, @afragen suggested going down to 5.6.20 as local by flywheel has that as it's PHP version. As that is a fairly popular development environment, it feels like that might make sense.
#7
in reply to:
↑ 6
@
6 years ago
Replying to jorbin:
In slack, afergen suggested going down to 5.6.20 as local by flywheel has that as it's PHP version. As that is a fairly popular development environment, it feels like that might make sense.
As a personal opinion, I feel like 5.6.20 is the safer option, especially given that bumping it to 5.6.30 doesn't gain WordPress much in the way of added features, bugfixes, or bring any major security improvement (that i'm aware of).
I would normally advocate for supporting down to PHP 5.6.0, just to make messaging and support easier "PHP 5.6 or greater", but given the significantly small fraction of people who would be affected by that change it's not even worth considering.
#8
@
6 years ago
Latest patch sets the minimum to 5.6.20, the recommended to 7.3 (to match https://wordpress.org/about/requirements/ ), and cleans up the travis config. I believe that is what will be needed in order to finish up the minimum version update.
Want to bump this so that people can't accidentally upgrade to a version they can't use.
@dd32 @pento - Either of you have insights into the stats for the specific minor of 5.6 we want to use?