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.

Premature end of script headers

Discussion in 'EasyApache' started by linux25, May 25, 2014.

  1. linux25

    linux25 Member

    Joined:
    Oct 6, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I am trying to enable SUPHP on my WHM server. No websites will work with SUPHP enabled. Every site on the server returns similar to the following in Apache error_log:

    [Sun May 25 15:53:47 2014] [error] [client 71.29.205.197] Premature end of script headers: index.php

    I have set the perms to 644 for scripts and 755 for directories. The owners and groups are all set to the user. I have checked the suphp error log and it is not over 2GB. (Read in a forum that might be the cause).

    No avail. I am still getting 500 Internal Server Errors.

    Please help!

    Any help will be greatly appreciated.
     
    #1 linux25, May 25, 2014
    Last edited by a moderator: May 26, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you post the output from /usr/local/apache/logs/error_log when you notice the "500" error code in your browser? Are you sure "Premature end of script headers" is the only aspect of the output in the Apache error log?

    Thank you.
     
  3. linux25

    linux25 Member

    Joined:
    Oct 6, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Solved -- One of the configuration settings in EasyApache brought in apc.so, which is not compatible with suphp. No longer getting error.

    Thank you,

    Jeff Small
     
    #3 linux25, May 26, 2014
    Last edited by a moderator: May 27, 2014
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page