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.

how can i recompile php without recompiling apache and my sites being offline?

Discussion in 'EasyApache' started by jclarkkent2003, Feb 5, 2006.

  1. jclarkkent2003

    Joined:
    Aug 8, 2005
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Hi guys,
    I have 300 sites on one cpanel server, and I don't want downtime and rebuilding apache seems wasteful, All I need is to recompile php with GD in addition to what i last compiled it with.

    How would I do this?

    thanks in advance
     
  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
    Tick the box under WHM > Update Apache > Skip Apache Build if up to date
     
  3. jclarkkent2003

    Joined:
    Aug 8, 2005
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    but apache will go down while it's building and that build takes 30 freaking minutes....

    How can i do it from shell, where i just recompile and install php again, and all that's needed is a httpd restart to take effect, rather than cpanel / whm closing apache for 30 minutes.
     
  4. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    NO it doesnt go down! It stays up. It restart httpd at least twice during the build and keeps even php sites running until the final restart.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Indeed. The only time I've ever seen it shutdown is if you enable phpsuexec for the first time, otherwise, it should indeed stay up and running for the duration with a couple of graceful restarts.
     
Loading...

Share This Page