• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

After Rebuilding Apache Getting 500 Errors

faeronsayn

Well-known member
#1
So after I rebuilt apache through Easy Apache, I am getting 500 errors on all my sites, even the ones that are not on xenForo. Which means that it probably has nothing to do with the requirements of xenForo.

All my databases are on a remote mysql server, however that would display something like "A database error has occurred" on my xenForo page. So it seems that apache is the main problem at this time.

I looked into the error logs and all I see is the following

[Sat Sep 08 01:45:54 2012] [error] [client IP ADDRESS] Premature end of script headers: index.php

Which doesn't give me enough information, or any at all.

I also had this error

PHP Deprecated: Comments starting with '#' are deprecated in /usr/local/lib/php.ini on line 1071 in Unknown on line 0, referer: My Website URL.

I removed that line and that error stopped popping up.

Besides these two errors I am not getting anything, so I am not exactly sure what's wrong.

Any help would be appreciated.
 

Slavik

XenForo moderator
Staff member
#5
Easyapache seems to have some weird config settings when using the latest version which don't agree with XenForo.

I recently had to roll back someones Apache version for the exact same issue.

My suggestion? Learn to compile apache yourself :)