PHP 5.2 support ends just as its adoption begins
blog.tabini.cahttp://blog.tabini.ca/2010/07/php-5-2-support-ends-just-as-its-adoption-begins/?utm_source=rss&utm_medium=rss&utm_campaign=php-5-2-support-ends-just-as-its-adoption-beginsAbout this post
- Posted
- Archived
- Score
- 18 · 100% up
- Kind
- Link
- ID
- cu6ln
31 comments
From the comments:
And:
I hope no one is really using PHP <5.2.
I recently had to deal with a client who did a fresh install of RHEL and the current shipping version (at least as of a few months ago) comes with 5.1. And this client wouldn't install anything that isn't in the official RHEL repos. Had to go back and patch Drupal plugins and our own code because of missing functions.
RHEL6 apparently includes PHP 5.3 by default.
This will be great, up to the point where PHP's trunk becomes 5.4. Trunk currently contains delicious new features, like traits and type hints for primitives. At least we got PHP-FPM in 5.3.3....
wow, even Debian stable is on 5.2!
We're using 5.1.6 on CentOS. Last time I checked 5.3 wasn't in the official repos, but that has probably/hopefully changed since.
Edit: 5.1.6 and not 5.2
Deleted before we saved it.
We have some centos servers that haven't been updated in their repos. I still have php 5.1.5 installed in some servers. :(
You keep your servers four years out of date?
We are.
5.0.x, in live production, processing millions of dollars of orders a year.
The application is so tightly coupled to the outdated platform it runs on top of that we decided a parallel rewrite from scratch was the best way to fix it. 5.3 on PostgreSQL, aggressively OS independent, and months away from production.
As csixty4 wrote above, a problem for packages that need to work on a variety of hosts are the PHP version on LTS version of several Unix clones.
It was a difficult choice, but Drupal 7 opted for 5.2, shunning RHEL users and causing grief. Support for 5.1 would cause the developers grief (like PHP 4 support does now) and the devs interest prevailed.
This is not good news for someone who is stuck on a CentOS ecosystem. :-(
I feel your pain. As with each other program in CentOS, the version numbers of released software will not change over the life time of a CentOS product. CentOS 5.0 contained PHP 5.1.6, and that is the point version PHP will stay at for the life time of CentOS 5. It is possible that upstream or the CentOS team decides to push a newer version into some additionial repository. But there are no such plans at the moment.
Linux n00b here. What is the main disadvantage of compiling the latest version of PHP from source on a CentOS system? Is it the lack of stability and Q/A for doing such a thing that is the major impediment?
http://blog.famillecollet.com/pages/Config-en
http://fedoraproject.org/wiki/EPEL
It sucks but reality is CentOS wasn't going to upgrade you even when it was still in active development. They're not going to backport features (they've always maintained an informal policy that 5.x releases were for feature additions and/or removals, 5.x.y releases would only be fixes for bugs, stability, and compatability).
So really, nothing has changed for CentOS users other than CentOS might be more encouraged to jump ahead more quickly in future versions.
5.2 was released as stable in November 2006. This is NOT too soon to drop support for it; if anything, it shows that hosts and developers need to adapt new versions quicker.
Maybe if it works, it'll mean we don't have to wait another 10 years for 6.0.
PHP 5.2 will merely be the minimum requirement for Drupal 7 just like 4something is the minimum requirement for Drupal 6.
I run a shared hosting server. We deployed a new server on PHP 5.3 and started migrating accounts to it about 3 months ago. The latest Magento and another package (Joomla or Wordpress) was getting errors with 5.3 and we had to roll back to 5.2. We're SLOWLY getting users off PHP4 but it's hard work trying to explain to an end user who says their website has been fine for 5 years how or why they have to move up.
Deleted before we saved it.
They fixed memory_get_usage in 5.2.10.
They updated it, but the bug discusses freeing memory, that line has/frees no vars. Tell me if I'm mistaken, I'll gladly accept it.
GASP! Kilobytes of memory are being used!
Deleted before we saved it.
Are you using mod_php? What version of apache? This could be per-process memory, not per request, and if that's the case the difference is mostly trivial and may even result in faster request processing. You should try your benchmark with the cli version as well.