I have a PHP script that keeps stopping at the same place every time and my browser reports:
The connection to the server was reset while the page w
I had a similar issue - turns out apache2 was segfaulting. Cause of the segfault was php5-xdebug for 5.3.2-1ubuntu4.14 on Ubuntu 10.04 LTS. Removing xdebug fixed the problem.