I was reading Nick Lewis post on why “Should Drupal move to PHP 5” and personally don’t agree much with the reasons that PHP4 is dying, and the days will prove that it will not very soon. However there are lots of excellent reasons to switch to PHP5, or even PHP6.


The advantage of switching to PHP5 will be first a much higher quality code with full OOP support, then it will be faster for development and maintenance, and more interesting is the availability of enterprise frameworks. But technically for the endusers there is not much change, while your application might run faster with PHP4 (at least now), you will have to think twice before dropping totally PHP4 support.
For hosting companies I mentioned previously why supporting PHP 5 will be a wise decision, and I think that decisions to make popular open source projects switch to PHP will certainly give hosting companies another good reason to support PHP5 in their hosting packages.
And in real world, as Steven Wittens explained very well in comments, it is better currently to not drop PHP4 support and develop a PHP5 version hoping to drop one day the PHP4 support when it will be dropped also from PHP.net officially.

6 COMMENTS

  1. come on man the first php5 stable version was released back to 13-Jul-2004, this means about 3 years ago, if people doesn’t start migration now when they’ll do it ?? when we’ll have php7 or maybe 8 !!!!

  2. come on man the first php5 stable version was released back to 13-Jul-2004, this means about 3 years ago, if people doesn’t start migration now when they’ll do it ?? when we’ll have php7 or maybe 8 !!!!

  3. The web is about change, and 3 years ago requirements are not enough for today’s requirements. And btw I didn’t meant not switch to PHP5…, I said the reason that PHP4 is dead is not true.

  4. The web is about change, and 3 years ago requirements are not enough for today’s requirements. And btw I didn’t meant not switch to PHP5…, I said the reason that PHP4 is dead is not true.

  5. PHP5 is a lot better, hosting companies that don’t at least support both are providing a poor service. To be quiet honest the only reason not to upgrade is laziness!
    I also disagree that developers shouldn’t drop PHP4 support, there is little point developing for both versions as the benefits from PHP5 can’t be used; the OOP improvements bring PHP5 closer to professionalism. Developers should push PHP5 forcing people and hosts to do a well overdue upgrade.

  6. PHP5 is a lot better, hosting companies that don’t at least support both are providing a poor service. To be quiet honest the only reason not to upgrade is laziness!
    I also disagree that developers shouldn’t drop PHP4 support, there is little point developing for both versions as the benefits from PHP5 can’t be used; the OOP improvements bring PHP5 closer to professionalism. Developers should push PHP5 forcing people and hosts to do a well overdue upgrade.

LEAVE A REPLY

Please enter your comment!
Please enter your name here