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 to stop Auto-update of PHP and Apache?

Discussion in 'EasyApache' started by inov, Jul 21, 2004.

  1. inov

    inov Member

    Joined:
    Mar 4, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    hi there

    Somehow our server has started automatically updating PHP and Apache which takes all of our sites down each time it does this. The reason it takes them down is that we have a custom compile of PHP, with some specific settings, but Cpanel compiles its own version. We appreciate the security considerations, but would prefer to be able to manually compile ourselves. Can someone tell us how we can switch off the auto-update of these two?

    Thanks

    Ade
     
  2. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0
    Never heard of this happening in my life. Unless you have little green men sitting at your terminal deliverately recompiling PHP while your sleeping i cant for the life of me figure out how php could be re compiled without human intervention. As for the option of turning off updating of Cpanel only, find it in WHM.
     
    #2 mr.wonderful, Jul 21, 2004
    Last edited: Jul 21, 2004
  3. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    Make sure in your up2date you have php and http in the exclude list. Though it shouldn't be doing a recompile, maybe the binaries are being changed slightly in the nightly updates.
     
  4. Sinewy

    Sinewy Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney, Australia
    cPanel Access Level:
    DataCenter Provider
    if they are, everyone would get it.
     
  5. inov

    inov Member

    Joined:
    Mar 4, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    guys, thanks for this. Thats quite worrying. We all thought it was Cpanel auto-updating (and I'll look into that) but the only other people could be the dedicated server company and as they are not good at support at the best of times I doubt they'll have done it. WIll investigate

    Sorry for the delay in replying - been on vacation

    Thanks again

    Ade
     
  6. zentity

    zentity Well-Known Member

    Joined:
    Jun 16, 2004
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Definitely check to see that you don't have httpd and php rpms installed on your machine - This can cause issues when you install SSL certs sometimes too if you do.

    rpm -qa | grep httpd
    rpm -qa | grep php

    Make a backup of httpd.conf before you uninstall the httpd rpms if they are on your system :)
     
  7. inov

    inov Member

    Joined:
    Mar 4, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    more help needed

    hi guys. sorry, need some more help. Spoken with the two people who could have done the update manually, and they say they didn't do it, so it must have been Cpanel/WHM.

    Now, I've looked at one of the above replies which said "Make sure in your up2date you have php and http in the exclude list". I've looked for this but can't find it - any help in pointing in the right direction would be great. Really don't want it to update my PHP settings again as it was a real pain :)

    Thanks again

    Ade
     
Loading...

Share This Page