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 when installing

Discussion in 'Installation, Upgrade, and Import Support' started by lewebdalex, Jan 22, 2012.

  1. lewebdalex

    lewebdalex New Member

    Dear All,

    I'm having same issue with the installation of XF on a Cpanel.
    It's on a brand new 1.1.1 installation.
    I've all requirements, log rotation enabled, disable suphp and so on.

    A Premature end of script headers is still occuring in my error_log.

    I've searched all over the internet and found some solutions, which didn't fix the issue. Here are them for the record :
    - Enable the Apache log Rotation to avoid 2GB and more logs. Done, not fixing.
    - Suphp may cause the issue. I've rebuild Apache without it. Not fixing.
    - Checking permission. I've chmod everything as either 755 or 644. Not fixing.

    Any help ?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Are you using suhosin (hardened php)? If so then try reinstalling PHP without suhosin. If you have root access to your CPanel server then you can reinstall PHP in WHM.

    That's my best guess.
     
  3. lewebdalex

    lewebdalex New Member

    Hi Jake,

    No, I've also read about it on this forum and suhosin is not installed on Apache.
     
  4. lewebdalex

    lewebdalex New Member

    Also, when I attempt to run the script from the command line I get an immediate segmentation fault.
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That may or may not be related to the first error. But it definitely looks like you are having PHP problems. If not suhosin then probably some other PHP extension. I would troubleshoot your PHP configuration by disabling "excess" extensions such as caches, accelerators, optimizers, hardeners, etc.
     
  6. Digital Doctor

    Digital Doctor Well-Known Member

    Do you have mod_security on ?
     
  7. Chris D

    Chris D XenForo Developer Staff Member

    I don't understand why you're necro'ing a load of posts asking the same question.

    Maybe PMs would be more appropriate for specific questions to specific people?
     
  8. Digital Doctor

    Digital Doctor Well-Known Member

    To find answers :)
     

Share This Page