• Hello guys,

    My WordPress blog at vincentchow.net is hosted by DreamHost – and I found that only sometimes, 500 Internal Server Error occur. I have checked my error logs, please have a look at it below.

    [Mon Dec 04 10:47:03 2006] [error] [client 60.50.100.2] Premature end
    of script headers: php5.cgi, referer: https://www.vincentchow.net/
    [Mon Dec 04 10:47:33 2006] [error] [client 60.50.100.2] Premature end
    of script headers: php5.cgi, referer: https://www.vincentchow.net/
    [Mon Dec 04 10:48:35 2006] [error] [client 60.50.100.2] Premature end
    of script headers: php5.cgi
    [Mon Dec 04 10:49:06 2006] [error] [client 60.50.100.2] Premature end
    of script headers: php5.cgi
    [Mon Dec 04 10:49:37 2006] [error] [client 60.50.100.2] Premature end
    of script headers: php5.cgi
    [Mon Dec 04 10:50:08 2006] [error] [client 60.50.100.2] Premature end
    of script headers: php5.cgi
    [Mon Dec 04 10:50:38 2006] [error] [client 60.50.100.2] Premature end
    of script headers: php5.cgi
    [Mon Dec 04 10:51:09 2006] [error] [client 60.50.100.2] Premature end
    of script headers: php5.cgi

    May I know how do I fix it? It is not occuring all time, and everytime, it will be fine again after a few minutes. It happen once or a few times every day.

    My blog: https://www.vincentchow.net

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Looks like a host specific error, tell your host.

    Thread Starter Lusmo

    (@vincentchow)

    I told them, but they aren’t helping. You know, it’s DreamHost.

    I had a rash of those errors a while back, but they stopped after a server upgrade.

    My guess is that this happens when the server is overloaded or stressed, and so the PHP process “dies”, then restarts, which is why the problem is intermittent.

    I’d try Dreamhost again – I usually get a reasonably sensible response from support.

    Interesting, I’m in the same situation right now (using Dreamhost as well with the latest release). The comments stopped working on one of my blogs, and the only clue I got was those errors. I was pointed to take a look at the suexec.log (ie. probably php5.cgi was being called with the wrong permissions or something) but that doesn’t provide any errors, just a confirmation that it is being called.

    Oops. Please disregard the above comment. Actually, it was all my fault, really — I had two different versions of an OpenID authentication plugin installed, and both competing for “taking over” the comments section. No wonder I got weird errors when trying to call a modified template for the old (uninstalled) plugin :-/

    If you’re keen on OpenID authentication — and these days you should be! — use this plugin instead. So far, it’s the easiest I’ve found out, it works properly, and only does minimal changes to your comments.php (in most cases, it’ll even manage to add everything it needs without manual configuration) and leaves all the rest of your WordPress installation untouched. Also, it allows tying your manually-created users to OpenIDs, so people who have already registered can now assign OpenIDs to them…

    And really — there are 4 or 5 different plugins for OpenID around — make sure you delete them completely before installing a new one. The older plugins are rather hard to install properly and require lots of files to be changed or added — delete them all ??

    My apologies to VincentChow, my case most definitely is not related to yours (or to Dreamhost…), but is just a silly user mangling a perfectly good WP installation ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘500 Internal Server Error’ is closed to new replies.