serve long duration pages
| From: | John Gunther | Date: | Wed, 28 Jun 2006 13:10:43 +0000 |
| Subject: | serve long duration pages | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-238791@lists.php.net to get a copy of this message | ||
This may be more appropriate for an Apache or browser forum. Perhaps you can suggest an appropriate one.
I have a PHP script that takes a long time to complete (due to very heavy database activity) although it echoes unbuffered output every few seconds. I've set max_execution_time to 0 with set_time_limit(0) so PHP doesn't time out the page but after about 3 minutes, Firefox says, "The connection to the server was reset while the page was loading." and IE7 says, "Internet Explorer cannot display the web page". I want to try apache_reset_timeout() but it's not implemented in 4.3.10.
Is there anything I can do from PHP or elsewhere to solve this?
John Gunther
Bucks vs Bytes Inc