I have an odd issue which is intermittent where PHP will stop working and return the message 'done' in the status bar even though it has done either nothing or processed part of the script. If I refresh the page it might work properly and it might not. Sometimes I refresh the page 4 to 5 times in a row and it stops exectuing with no errors noted, then on try 5 or 6 it runs through perfectly. I recently upgraded to PHP 5.1.1 and Apache 2.2.0, which are installed on Novell SuSE 9.0. Error reporting is set to on, and I have set up lots of visual clues to be sent to the browser if anything fails.
Apart from possible issues in the new PHP and Apache versions I seem to be noticing this where the script calls mysql functions; the Apache server is installed on a Pentium 400 (slow) but the calling machine is a much faster 1.8 GHz. I don't really see why this would make a difference, but it is difficult to tie anything down in the absence of meaningful error messages.
I have included functions to flush the buffers (ob_implicit_flush(true); etc)
I don't have any code to post since I don't know where it is stopping. The same thing happens on several scripts both simple and complex. Must be an option somewhere but not sure where to look.