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!

php4 & php5, 500 errors

Discussion in 'General Discussion' started by dxm, Nov 5, 2009.

  1. dxm

    dxm Active Member

    Joined:
    Aug 1, 2007
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    51
    Hi,
    One of our servers started throwing 500 errors on php5 sites last night.
    In /etc/httpd/logs/error_log I'm seeing the following error:
    Premature end of script headers: /usr/local/cpanel/cgi-sys//php5

    I've rebuilt apache and php, updating to the latest php5, no change.
    This appears to have started 'randomly'. I've no idea what changed to cause this.
    I've updated everything, cpanel etc, no change.
    Bit stuck here and have a lot of sites down. Anyone got any suggestions?
    Php config details

    PHP 5 Handler cgi
    PHP 4 Handler dso
    Apache suEXEC on
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,554
    Likes Received:
    9
    Trophy Points:
    168
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Via root SSH access, please provide the output from the following commands (to show the full cPanel version and build ID, Apache version information, and an informational listing of the Apache "logs" directory path):
    Code:
    # cat /usr/local/cpanel/version && echo
    # /usr/local/apache/bin/httpd -v
    # ls -ahl /usr/local/apache/logs
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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