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!

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:
    51
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. linux25

    linux25 Member

    Joined:
    Oct 6, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.
     
    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