The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What PHP4 version is best?

Discussion in 'General Discussion' started by chris8lunch, Sep 23, 2006.

  1. chris8lunch

    chris8lunch Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    Version 4.3.11
    Version 4.4.1
    Version 4.4.2
    Version 4.4.3
    Version 4.4.4

    Which one is the best one? Why? I use 4.4.4 just because its the latest PHP4.. And I'm still not understanding the concept of PHP4 and PHP5, why would you make a new PHP version that doesn't support others?

    Thanks in advance.
     
  2. rachweb

    rachweb Well-Known Member

    Joined:
    Jun 26, 2004
    Messages:
    268
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    amsterdam
    On the latest version of php 4 is there many security fixes. It is the best to use this version.

    The difference between php4 and php5 is that on php5 some features are removed or added. PHP supports this 2 versions because not all hosting companies are over to php5. The must of the php sites are not yet compatible with php5.
     
  3. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    To further note, running php4 and php5 on the same box is also
    an option.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you're running php v4 you should only be running v4.4.4 - anything older has some serious security vulnerabilities. PHP v4.4.4 laso has security issues, but the PHP developers haven't bothered releasing a fixed release version as yet (they seem to leave it months).

    There're two versions for the reasons rachweb points out - php5 is not backwards compatible and will break many scripts written for php4. It's another example of the php developers not considering their own community.
     
  5. chris8lunch

    chris8lunch Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16

    Well if I do say so myself, thats just retarted!
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's been a feature of that languages development from its inception, unfortunately.
     
  7. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    16

    Don't you think that maybe they don't want to sacrifice performance for backward compatibility?


    Intel had done that and they ultimately came to conclusion that they'll need to start from scratch with new architecture.
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    There's no reason wat all that they should need to make any such sacrifice. Backwards compatibility is a fundamental requirement of any serious programming language.
     
Loading...

Share This Page