In May, 2000, when PHP4 released PHP3 was doing a great job, but with the advent of PHP4, it just took over the web market by storm. PHP has never looked back since then. From 2000 to 2004, one after another release of PHP only boosted its presence as the most sought after web programming language. In 2004, when PHP5 released by then PHP has already grabbed the maximum of web market and has become a de-facto choice for web developers and hosting companies. In these 4 years of journey, PHP has not only added fillip to its own market but supported both apache and mysql to grow as one unit and created an environment what popularly known as LAMP.
2004, was not a gainful year for PHP as PHP5 failed to achieve the success its already enjoying and even failed to meet up the hype it raised before its launch. Most of the web hosting companies simply turned their back and just said a clear NO when the question of up gradation arose. The possible reasons one can draw are
- PHP4 was already installed in majority of web servers and PHP developers could not leverage PHP5’s full potential without dropping support for PHP5.
- Hosting companies didn’t have enough motivation for shifting to PHP5. Already most of the web applications were running in PHP4 and they could not force the applications to shift base to PHP5.
- PHP5 is a fully object oriented language while PHP4 was mainly procedural with object oriented support. From scripting angle a PHP4 script and a PHP5 script is totally different. So shifting to PHP5 needs one to rewrite the entire script.
This cycle was indeed a vicious and this was greatly affecting the success of PHP5. And this lead to the announcement of PHP team to discontinue PHP4 from year 2008. On 13th July, 2007, PHP community (php.net) announced that by 2007 they will withdraw support and maintenance of PHP4. “The PHP development team hereby announces that support for PHP 4 will continue until the end of this year only. After 2007-12-31 there will be no more releases of PHP 4.4. We will continue to make critical security fixes available on a case-by-case basis until 2008-08-08. Please use the rest of this year to make your application suitable to run on PHP 5.”
Though I am not sure if this decision is a ridiculous one but surely I am afraid of the web applications running on PHP4 and doing good business. The demand of PHP5 even created website which are forcing users in deciding their choice of scripting language by forming a community. I am not sure if we will call a product as good one if its survival depends on the extinction of its mother.
Right now 33 projects and similar number of webhosts decided that they are not going to provide any support and service to PHP4 from 2008 onwards. Here is a partial list
Projects: Krumo, Asido, PEAR, SimplePie, Gallery, Flyspray, Jelix, Swift mailer, phppgadmin, domain name portfolio, solar, silverstripe, Irokez CMS, PHPUnit, CMS Made Simple, Wide Image, Fry PHP, Desk Pro, Website Baker, ICE BB, CV CRM, S2Container, PHPMyVisits, PHPMyFAQ, UseBB etc.
Looking optimistically, however this isn’t a bad news at all. Since PHP5 has well support for PHP5 and before we start migrating to PHP6 this forceful migration is a welcome step. When the decision has been taken and when the time has come for the change we can say unanimously GoPHP5.