After Rebuilding Apache Getting 500 Errors


Well-known member
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.


Well-known member
Which settings did you change when you recompiled Apache?

It could be all, from a permission problem to SuPHP....


XenForo moderator
Staff member
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 :)