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 down, any ideas?

Discussion in 'General Discussion' started by amard, May 14, 2004.

  1. amard

    amard Well-Known Member

    Joined:
    Jan 18, 2003
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Herts, UK
    Hi,

    One of our servers comes up with 500 Internal Server Errors on PHP pages since the last Apache update.

    the command "php status" brings up:
    We've tried re-installing via WHM buildapache with and without MCrypt, although it still comes up with this error.

    We've also tried installing libmcrypt manually, although there configure script crashes.

    Any idea's on what we could try?


    Thanks :)
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Try commenting out PHP from your apache config. If Apache restarts then something is wrong with your PHP build. If this is the case, fire up /scripts/easyapache and rebuild your apache/php install.
     
  3. amard

    amard Well-Known Member

    Joined:
    Jan 18, 2003
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Herts, UK
    Hi,

    We solved it by copying the libmcrypt files across from another server, then restarting Apache.

    :cool:
     
  4. eglwolf

    eglwolf Well-Known Member

    Joined:
    Jan 1, 2004
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    I am also having major problems with this issue of libmcrypt, anyone know whats going on with this?
     
  5. hostmoon

    hostmoon Well-Known Member

    Joined:
    Aug 4, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6

    arrrgh!! me too!! all my sites are down!

    d
     
  6. jeroman8

    jeroman8 Well-Known Member

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    16
    What is this !!!!

    Run update apache - got the libmcrypt error and apache will not start !!

    All sites/clients is down and I can't get this up again !!
     
  7. hostmoon

    hostmoon Well-Known Member

    Joined:
    Aug 4, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    I downloaded libmcrypt from sourceforge.net built it and copied appropriate files into /usr/lib and was able to restart apache. This is just wrong though.

    dale
     
  8. hostmoon

    hostmoon Well-Known Member

    Joined:
    Aug 4, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Download from http://sourceforge.net/projects/mcrypt, unzip/untar, then run ./configure then run make. I did a make install, but it put files into /usr/local/lib. The cPanel config expects them to be in /usr/lib, so just copy them there and restart.

    This needs fixing though.

    dale
     
    #8 hostmoon, Mar 23, 2005
    Last edited: Mar 23, 2005
  9. jeroman8

    jeroman8 Well-Known Member

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    16
    I did like armad said - copied the files from another server, phuu - it worked.

    BUT the libmcrypt.so.4 is actually a symlink to (I guess) libmcrypt.so.4.4.7.
    But I transfered both of these files as files and not symlinks - is there a difference ?
    It works and I guess the symlink actually is a virtual copy of the file it goes to so..

    How I did it:

    Copied all libmcrypt..... files (4) and one directory (empty) from /usr/lib/
    and tarnsfered them over to the error server into same location.
    Don't fogte to set the permissions right.
     
  10. GetWired

    GetWired Active Member

    Joined:
    Aug 4, 2003
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
Loading...

Share This Page