Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Weird problems with php :-(

Discussion in 'General Discussion' started by jez9999, Aug 20, 2008.

  1. jez9999

    jez9999 Well-Known Member

    Joined:
    Jun 10, 2005
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    I tried to login to my webmail today to be greeted with the following message,
    "Internal Server Error

    Premature end of script headers: php: Please check /usr/local/cpanel/logs/error_log for the exact error."

    That logfile was saying that /usr/local/cpanel/3rdparty/bin/php was not executable and sure enough, when I looked in that dir, both php and php-cgi were chmodded to 0644 (rw, r, r)... is this normal?

    For now, I've chmodded them 0755 so they're executable. However, now I just get a different error when php tries to run (again I'm trying to check webmail, with Squirrelmail),
    "/usr/local/cpanel/3rdparty/bin/php-cgi: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory"

    That .so file appears not to exist, so I'm not sure what to do now.

    Any ideas how I can fix this and why it might have suddenly happened? Have I been hacked? The web service still seems to be running OK.
     
  2. jack01

    jack01 Well-Known Member

    Joined:
    Jul 21, 2004
    Messages:
    200
    Likes Received:
    0
    Trophy Points:
    166
  3. jez9999

    jez9999 Well-Known Member

    Joined:
    Jun 10, 2005
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    156
    OK, well I fixed the problem by switching from Current to Release, and upgrading. *shrug* Strange that it broke on Current, though.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice