backup before recompiling php?

Discussion in 'PHP' started by malchiang, Jul 23, 2007.

  1. #1
    Hi to all the gurus here,

    I was told I need to recompile php to enable gd, but do I need to backup any php settings like php.ini in the event of compile failure? Much appreciated.


    mal
     
    malchiang, Jul 23, 2007 IP
  2. ecentricNick

    ecentricNick Peon

    Messages:
    351
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well, you're backing it all up regularly anyway aren't you?
     
    ecentricNick, Jul 23, 2007 IP
  3. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #3
    You should definitely back all of your sites, databases and save a copy of your php.ini settings. Also, save a copy of your current php config command.

    Make sure you recompile with whatever is currently enabled in addition to anything new that you need.

    Also, if you can you may just switch to php5 if you're still using 4. PHP4 development stops in a few months so most servers should switch to 5 if they can. You would want to make sure your php scripts won't break before going to php5, in case you do look into it.
     
    jestep, Jul 23, 2007 IP
  4. malchiang

    malchiang Peon

    Messages:
    123
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks guys for the advise, I am currently on php 5.2.3 already. Much appreciated. I will try it.
     
    malchiang, Jul 23, 2007 IP