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.

Upgrading to PHP5

Discussion in 'General Discussion' started by Dr-Leech, Nov 6, 2005.

  1. Dr-Leech

    Dr-Leech Member

    Joined:
    Oct 27, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pergamino / Argentina
    Hi,

    I want to upgrade my webserver to PHP5 using the cPanel Apache Update, do you think it can broke my clients PHP sites?

    I mean, incompatibilities, bad used functions, etc in their scripts.

    I saw also that many people here in the forums asks about install PHP5 running together with PHP4, why?

    Thanks
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yes, upgrading to php5 can break client scripts because the php developer community don't believe in backwards compatibility for some bizarre reason.
     
  3. Dr-Leech

    Dr-Leech Member

    Joined:
    Oct 27, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pergamino / Argentina
    crap, I've supposed that :(
     
  4. bamasbest

    bamasbest Well-Known Member

    Joined:
    Jan 10, 2004
    Messages:
    531
    Likes Received:
    0
    Trophy Points:
    16
    The theory behind running both versions is so that your users can select to run their scripts under either version, which is (IMO) a much more customer friendly solution as opposed to upgrading and advising customers that they are SOL if their present scripts are not php5 compat. :eek:
     
  5. Dr-Leech

    Dr-Leech Member

    Joined:
    Oct 27, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pergamino / Argentina
    Yes, sure.. but I think that not every customer wants to pay a coder to edit every scripts they have to avoid incompatibility. And also the ones that have 3rd party scripts that doesn't have a version for PHP5 they loose their script.

    It's too bad for PHP group, backward compatibility is the first thing anyone must have in mind when upgrades a software IMO.
     
  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
    Couldn't agree more, that and the php security model are the two things that I think prevent php breaking into big business where they continue to fail. But that's a whole other argument ;)
     
Loading...

Share This Page