php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29994 Execution Time Problem
Submitted: 2004-09-06 08:49 UTC Modified: 2004-09-06 09:00 UTC
From: tcmleung at yahoo dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.8 OS: Windows XP IIS 5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tcmleung at yahoo dot com
New email:
PHP Version: OS:

 

 [2004-09-06 08:49 UTC] tcmleung at yahoo dot com
Description:
------------
The Webserver is IIS 5, with Windows XP, IIS NTLM authentication and SSL encryption.
No matter how I set the time limit, the download process would terminate after 5 minutes (300 seconds). See the following sample script.


Reproduce code:
---------------
<?
$filename="abc.txt"  //very very big file--over 500MB
$fp=fopen($filename,'r');
//fpassthru($fp);

while (!feof($fp)) {
  set_time_limit(299);
  echo fread($fp, 8192);
}
fclose($fp);
?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-06 09:00 UTC] edink@php.net
You need to change IIS default timeout.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 15:01:28 2024 UTC