I have a single PHP script on a fairly high traffic server that is throwing off a lot of errors of this sort:
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server Premature end of script headers: script.php
However, for any parameters I can think of, the script returns successfully and immediately. There have also been no user complaints, nor any corresponding errors in the PHP error log.
However, it's only this one script that is giving any errors, so I assume there must be a problem causing it to fail under certain conditions. In order to debug further, I need to know what GET parameters are being sent to the script when it fails. Is there a way to modify Apache's error logging to include this information?