I have an Apache2.0/PHP web server setup on my development machine (windows) and on my test server (linux). There is one PHP script I have that runs a shell command to generate a PDF document. For example,
<?php //This script is kicked off via the browser, //ie. http://localhost/pdf.php exec('php generatePDF.php'); ?>
The document can take up to several minutes to generate, although usually it completes in seconds.
On my Windows localhost, navigating away from this page while the script is executing will actually cause Apache to hang. On my Linux test server, this problem does not occur.
I have to expect that a user could navigate away from the page before the script has finished generating the document. Is this problematic for Apache?