-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DX] Drop support for php 5.6 - or change our policy re smallest version shipped with supported major linux distros #5920
Comments
...I have tentatively set this task for the Backdrop 2.x milestone, which won't come before Jan 2025 (see the roadmap and the announcement). We may decide to reconsider sooner than that though. Does D7 EoL affect this decision here at all? If so, then how? This will need discussion/approval by the PMC. |
We are still following the policy of supporting the lowest version still supported by a Linux distro. See #3992 (comment). So that looks like 7.2? |
Yes @herbdool, that'd be right I believe 👍🏼 FTR, I'm adding here the table that @quicksketch had compiled back then:
*CentOS 8 were discontinued by RedHat, and the planned 10-year support cycle will be cut-off at the end of 2021 instead. |
...and also FTR, here's what's currently being reported for the various php versions in our telemetry:
|
I wonder whether it is possible from the raw telemetry stats (or whether it would need to be added) to know what version of Backdrop someone using 5.6 is on; that would give some kind of indication as to the active management of the site. I guess we do know that they're on a version after telemetry was added. It would also be interesting to understand why people are still on 5.6. My guess is inertia; nothings broke so nothing to fix and host not encouraging then to move. |
Yup, we can only assume 1.20+.
Yup, it's that. If you take a look at the version-specific table of our usage stats, you'll see that we have the same "problem" as our Drupal brethren: some sites seem to never be updated past their initial build (you can tell that by the roughly same amount of installations for each version over time), while some others take longer to be updated (slowly decreasing amount of installations over time). There's also what I call the obvious "supported cluster" of sites in the table, and you can tell that by the trend where the previous releases counts seem to be dropping at about the same pace that the new releases count is rising: I am assuming that certain site owners simply don't care past the initial release of their site. Perhaps it was a startup that never flourished. Perhaps they simply don't have the budget to keep updating their site, and it's relatively low-traffic that they simply take the risk of potential hacking. Perhaps the people that built the site prefer to have one-time customers, and they don't really bother explaining the need for regular updates (because it may be a demotivating factor for the sales pitch), and that is not part of their services 🤷🏼 |
I'm also in favor of waiting on removing support for PHP 5.6 until backdrop 2.0. (Perhaps at that point, our requirements can be updated to PHP 8?) I'm concerned that existing Backdrop sites aren't going to be upgrading the PHP versions. Even if PHP 5 isn't supported, there will still be web hosts offering patched versions, and if there is other old software on the same instance it could be too much of a risk to update the PHP version just to support the Backdrop site. |
I cannot say if my case is a minority, but the hosting provider I am using for my personal site added support for PHP 7.3 only the last month. If they add new PHP versions at the same "speed," I would be probably able to use PHP 8.0 on 2030. |
Yeah, lets keep this as a placeholder. I'll try my best to be keeping the stats/metrics up to date from time to time, and as suggested during this week's dev meeting, perhaps once we have a bigger percentage of sites with Telemetry enabled, perhaps we can make a better-informed decision then. |
This is a follow-up issue to #3992
Backdrop core currently supports php versions from 5.6 and up (see the announcement), but there are certain cases where this becomes problematic. I am starting a register of such cases here, along with linked example issues in the core queue:
PHP 5.6 has been EoL since 31 Dec 2018 (see https://www.php.net/eol.php), which means no official security fixes. However, LTS (long-term support) versions of various linux distributions being used by popular hosting providers have been backporting security fixes and major bug fixes to 5.6, so we couldn't exactly call 5.6 EoL and be done with it. Also, Zend seems to be providing a paid LTS service for any PHP version after and including 5.6: https://www.zend.com/services/php-long-term-support
Some stats (at the time of writing - Jan 2023). Let's try to keep these up to date as this issue here is being considered:
The text was updated successfully, but these errors were encountered: