Knowledgebase

Portal Home > Knowledgebase > Articles Database > Internel server error


Internel server error




Posted by abs86, 12-02-2012, 10:55 AM
Hello, I am having a shared server with suphp and suexec enabled. Server is having cloudlinux kernel and cagefs installed. All my sites are showing internel server errors. ============================================= [Sun Dec 02 08:53:02 2012] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php [Sun Dec 02 08:53:02 2012] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php [Sun Dec 02 08:53:02 2012] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php [Sun Dec 02 08:53:03 2012] [error] [client xx.xx.xx.xx] Premature end of script headers: ========================================= All the sites were working fine. Suddently I am getting this errors. Tried upcp, easyapache. Changing to cgi will make the sites working. I dont want to use cgi Any help is appreciated.

Posted by PCS-Chris, 12-02-2012, 10:59 AM
Comment out the RLIMITMEM entry in /etc/httpd/conf/httpd.conf and restart apache, same issue?

Posted by abs86, 12-02-2012, 11:21 AM
There is no such entry in apache conf.

Posted by TravisT-[SSS], 12-02-2012, 05:36 PM
If suphp’s log reaches 2GB in size or larger you may see the premature end of scripts headers error. See what the log contains and either gzip it or null it. Restart apache and then deal with any issues that the suphp log brought to light. The suphp log is located at: /usr/local/apache/logs/suphp_log That is another one of the many possible issues. It could also be a permission issue. Has anything changed lately?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
mysql move need help (Views: 530)


Language:

Contact us