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.

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:
    1
    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,557
    Likes Received:
    7
    Trophy Points:
    38
    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
     
Loading...
Similar Threads - php4 php5 500
  1. durangod
    Replies:
    2
    Views:
    217

Share This Page