Slashdot Mirror


Official Support For PHP 4 Ends

Da Massive writes with this excerpt from ComputerWorld: "For a technology that has been in stable release since May 22, 2000, PHP 4 has finally reached the end of its official life. With the release of PHP 4.4.9, official support has ended and the final security patch for the platform issued. ...With eight years of legacy code out there, it is likely that there are going to be a fairly large number of systems that will not migrate to PHP 5 in the near future, and a reasonable proportion of those that will not make the migration at all. For those who are not able to migrate their systems to the new version of PHP, noted PHP security expert Stefan Esser will continue to provide third party security patching for the PHP 4 line through his Suhosin product."

10 of 245 comments (clear)

  1. Now that magic quotes are off by default... by Anonymous Coward · · Score: 5, Funny

    FRIST PSOT!!!!!'); DELETE FROM replies WHERE reply != 'FRIST PSOT!!!!!'; --

  2. PHP is a minor evil perpetrated and created by... by exabrial · · Score: 5, Funny

    PHP is a minor evil perpetrated and created by incompetent amateurs, whereas Perl is a great and insidious evil, perpetrated by skilled but perverted professionals. -- Jon Ribbens Amen.

  3. Re:Good News/Bad News by sabernet · · Score: 5, Interesting

    Where did you get your php info? foreach was introduced in PHP4, eval as well for error catching.

    The object support was nasty, but still better then the pseudo-object crap that perl has. Neither has private objects and vars outside of normal scoping but at least php didn't require passing extra arguments and shifting them out via a pseudo-constructor.

    Also, you could type cast in php4 as well.

  4. Re:wow FUDSTER by corsec67 · · Score: 5, Insightful

    People will still be allowed to get PHP 4 after it is EOL'd.

    Try buying a new copy of XP now. Even getting a computer with XP (and not paying for Vista) is getting difficult now.

    That is the difference.

    --
    If I have nothing to hide, don't search me
  5. Re:By Neruos by Refenestrator · · Score: 5, Funny

    You're right. He should have compared it to a car.

  6. Re:Good News/Bad News by SimGuy · · Score: 5, Funny

    Where did you get your php info?

    I get mine from phpinfo();

    --
    I don't care, but don't let that stop you from trying to tell me anyway.
  7. Re:Good time to migrate to PHP 7... by XorNand · · Score: 5, Interesting

    So you're not personally familiar with python-based web development. There are a great many people out there that are though: Django, Pythons, Turbogears, Zope are all great places to start.

    --
    Entrepreneur : (noun), French for "unemployed"
  8. Go PHP 5! by GrouchoMarx · · Score: 5, Interesting

    For those wondering how many projects will be left out in the cold, here's your answer:

    http://gophp5.org/

    Over 100 PHP projects and products and over 200 web hosts that have been committed to PHP 5.2 and no earlier for over a year. GoPHP5 launched before the PHP development team announced an EOL for PHP 4. While I don't believe for a second that it was the only reason they made that decision, I also don't believe for a second that it didn't have a big influence on it.

    The push to drop PHP 4 support came from people using PHP in production in the first place. Those of us who get paid to write PHP code are cheering at the top of our lungs, because now we can actually get real work done.

    Go PHP 5!

    --

    --GrouchoMarx
    Card-carrying member of the EFF, FSF, and ACLU. Are you?

  9. Migration woes by Anonymous Coward · · Score: 5, Interesting

    I see a lot of people saying that they're surprised anyone's still using PHP 4, when PHP 5 has been out for so long. Well, I can guarantee you there's a lot of legacy PHP 4 codebases out there; converting to 5 is not always as easy as going over what's in the migration page on php.net. Just to give you an idea of the magnitude, we have tends of thousands of code files spread across numerous systems; our live web pool is around 100 machines, and we cannot take the website down in order to update it. (I can't tell you why.) So updates have to be made live. We don't have a proper staging environment, either, but we have come up with a number of (horrible) mechanisms for dealing with this situation.

    In our particular (unfortunate) case, we had about half a dozen custom PHP extensions that were all written by our former CTO, who left the company about a year and a half ago. He wasn't really big into documentation, and our technical management was very poor; we had a guy go through our 65,000-file codebase and make all the little tweaks necessary for a vanilla 4-to-5 migration, but it took us six months of wrangling with all these extensions to get them to work well under 5.1 (we're still having trouble with 5.2).

    Plus, it's not just a matter of dealing with the technology; like a lot of companies, management here doesn't like to put resources into things that don't have visible benefits -- and cleaning up the codebase/rebuilding the dev environment just isn't something they see a lot of value in. (We've finally convinced them it's important and needs to be done; we're operating without source control for about 99% of our code. YES, I KNOW.) We didn't even seriously start pushing to get things up to PHP 5 until January, and it took until July to actually make it happen.

    The point is, mismanagement and bad development environment/codebase design early on (several years ago) have meant that we're upgrading to PHP 5 years later than we should have. It's not that we didn't know how to do it once we decided to.

  10. Re:Good to see... by Anonymous Coward · · Score: 5, Funny

    Now if only they'd let the current version die too, we'd really be making progress..