Downgrading to PHP 5.2 after upgrade

Discussion in 'PHP' started by EduardoV5, Mar 3, 2013.

  1. #1
    Hello all. First post here, unsure if it might belong more in the server admin forum, but I'll give it a shot.

    I'm upgrading my PHP version to 5.3 - from 5.2 - on my Go Daddy account. If it breaks my site, apparently I can downgrade to 5.2 no problem until I sort everything out locally.

    My question is: if I find 5.3 breaks my site - and I downgrade back to 5.2 - would everything work fine exactly as before?

    Thanks!
     
    EduardoV5, Mar 3, 2013 IP
  2. sahabcse

    sahabcse Well-Known Member

    Messages:
    272
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    140
    #2
    Of course if you done the downgrade properly. Then How do you going to downgrade PHP using yum or rpm?
     
    sahabcse, Mar 4, 2013 IP
  3. EduardoV5

    EduardoV5 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    The GoDaddy account admin gives you option to use php 5.2 or 5.3 - I was just going to downgrade from the control panel there.

    Would this be fine?

    Thanks for response.
     
    EduardoV5, Mar 4, 2013 IP
  4. sahabcse

    sahabcse Well-Known Member

    Messages:
    272
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    140
    #4
    Yes this would be fine. Please ensure the recent backup is already taken...
     
    sahabcse, Mar 4, 2013 IP
  5. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #5
    To be brutally frank, if the upgrade breaks anything, FIX IT, don't downgrade. That's the idiot path to fixing a problem. To be even MORE frank, this is 2013, what the devil was your account even still running 5.2 for?!? Much less "since when is 5.3 an upgrade?!?"

    Latest is 5.4.11, USE IT. If it breaks something, FIX IT instead of leaving gaping security holes and half-assed outdated code in place.
     
    deathshadow, Mar 4, 2013 IP