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.

PHP update from 4.3.3 to 4.3.5 - how to do without problems?

Discussion in 'General Discussion' started by netlook, May 8, 2004.

  1. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    My question is simple :D, but I realy need your advice. How to upgrade PHP from 4.3.3 to 4.3.5 with some new modules (for eg. by WHM Apache Update function) without any problems?

    I'm a little bit affraid of doing it, because when I did it last time, I lost all of my clients httpd.conf informations etc, so my downtime because of upgrading was 4h :rolleyes:

    Regards
     
    #1 netlook, May 8, 2004
    Last edited: May 8, 2004
  2. Getox

    Getox BANNED

    Joined:
    Feb 4, 2004
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    0
    Backup everything

    then upgrade to php 4.3.4 then update to 4.3.5
     
  3. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Sory for my lame :) but "backup everything" means what? And why I should do this backup and how can I rebuild httpd.conf ?
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    You can go straight from 4.3.3 to 4.3.5.
    Backup httpd.conf by issuing the following commands:
    cd /usr/local/apache/conf
    cp httpd.conf httpd.conf.beforephp

    Then, if something goes terribly wrong, just downgrade php and at the end do this:
    cd /usr/local/apache/conf
    mv httpd.conf.beforephp httpd.conf
     
Loading...

Share This Page