-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Drop PHP 5.3 support, Require PHP 5.4 #7323
Comments
@mattab will 2.13 be the last php 5.3 release? |
Right now it is planned that 2.14 will be the last (then we jump to 3.0 with PHP 5.4). |
@mnapoli @mattab 5.4 is already near EOL (security fixes only). No chance to skip 5.4 with 3.0 and go directly to 5.5? http://php.net/eol.php |
Unfortunately we can't skip 5.4 as many of our users are still using it: about 35% are on PHP 5.3, 35% on PHP 5.4, 20% on PHP 5.5 and 6% on PHP 5.6. |
Dear Big Brother (aka @mattab ), how did you get those stats ? Are these actual PHP-Piwik stats or from the world of PHP in general ? |
@mattab @gaumondp when PIWIK 3.0 will be released, PHP 5.4 will already be EOL When i read sentences like How can you then release a new major version on an outdated version? From another perspective: With the remove of 5.3 support, already 35% have to upgrade to a higher version and they'll not leave Piwik because of this reason. |
It's not fair to blame Piwik's team for lack of PHP upgrades by its users. Even if 5.3 is already more than EOLed, SUSE produced a fix to PHP 5.3 : http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00003.html Not everyone can upgrade servers twice a day. ;) |
@gaumondp i know what u mean and its nothing personal against Piwik.
Twice a day? IMO: If someone wants to use the latest version of a software, he should also take the time once every two year to upgrade his PHP stack.... |
Just wanna add that my ranting about upgrading was for "anything" and not PHP in general. I upgrade Piwik on a 3 months schedule anyway but not once a year. One of the problem is also due to Linux distros that are not too speedy in their adoption of recent packages... And then you have those cheap hosters (not my case hopefully). |
Hi! Since RHEL / CentOS / ClearOS 6.x are still supported for a long while, this would be a great time to introduce a Long Term Support (LTS) version of Piwik. Piwik 2.13.x could continue for a while, with just security fixes, thus supporting PHP 5.3, while 3.0 is wide open for development with PHP 5.4 The upgrade script should only offer to upgrade to 3.x if PHP 5.4 is detected. Otherwise, it continues 2.13.5 -> 2.13.6 -> 2.13.7. With an LTS with only security fixes (and not even bug fixes), it shouldn't be too much work. Every future security fix in 3.x would need to be checked against LTS code base to see if it applies. In some cases, the vulnerability will apply to both branches, in which case, the fix is likely the same. In other cases, the vulnerability won't apply to the LTS branch because it was introduced via a new feature of Piwik 3.x I installed Piwik for a government ministry. The OS is RHEL 6 and I was actually one of the first to have it as most others have RHEL5. RHEL 7 is simply not available in this case, as they have procedures to validate distros and this takes a lot of time. Similarly, I am involved with ClearOS, a fantastic distro: https://www.clearos.com/ So if Piwik doesn't offer an LTS, I don't have a viable solution. Please see https://info.tiki.org/Version+Lifecycle for an example of a time-based, "Release early, Release often" approach with Long Term Support (LTS) versions, to balance the needs of stability and innovation. In the case of Tiki, thanks to the LTS, we can have aggressive requirements for new PHP versions, and we were able to make PHP 5.5 a dev requirement at the end of 2013. For anyone for whom this was a problem, they could just stay on LTS: http://doc.tiki.org/Requirements#PHP Best regards, M ;-) |
Hi @marclaporte Thanks for writing your suggestion. We've discussed this topic internally few times and our conclusion was that we won't offer a LTS version for Piwik. Fragmentation of user base across many versions is a big problem for many open source projects, and we're trying to avoid this by aggressively pushing users to upgrade to latest version. Plus we don't have the resources (nor the willingness) to support multiple versions of Piwik (LTS would take our time away from higher value work). Also it's really important for us that users use the latest Piwik version since we always fix so many bugs and make dozens of improvements each month. |
@mattab , at least, make sure it's almost impossible to upgrade to version 3 of Piwik when PHP 5.3 is detected... From web interface updater and CLI so no one is stucked with a Piwik 3.0 on a PHP 5.3 server. @marclaporte , I feel your pain and frustration... My TYPO3 CMS universe also endorse LTS versions. |
very good point @mattab I don't think the updater checks the PHP version right now? If not, we need to put this in 2.14 else it will be too late |
it's already implemented. the API for getLatestVersion checks for PHP versions and anyone who don't have PHP 5.3.0 won't be able to upgrade to 2.0.0, and anyone with less than 5.3.3 won't be able to use 2.7.0+ |
Great I had no idea! |
I've added to list of steps in issue: |
Now we're even considering dropping support for PHP 5.4, and require PHP 5.5! Join the discussion in #8156 |
PHP 5.4.x has reached end of life: |
I found a work around for this issue, here is what I did; I had a similar requirement to run code on an older version of PHP.
This worked well for my requirements. I did not spend any time to get Mailhog working but it could be updated to work and now I have a CentOS PHP 5.4 container to run legacy code on with DDEV. |
The goal of this issue is to officially drop support for PHP 5.3 and require PHP 5.4.
We announced this in a blog post few months ago: https://piwik.org/blog/2014/10/announcing-piwik-will-end-php-5-3-support-six-months-may-2015/
Notes
The text was updated successfully, but these errors were encountered: