php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16636 The specified CGI application exceeded the allowed time for processing.
Submitted: 2002-04-16 11:48 UTC Modified: 2002-04-16 12:03 UTC
From: rich at safenames dot net Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.1.2 OS: Windows 2000
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rich at safenames dot net
New email:
PHP Version: OS:

 

 [2002-04-16 11:48 UTC] rich at safenames dot net
I am trying to run a PHP script which sends ~1500 emails. It's a simple email script, in a look, calling the mail() function.

mail($mailto, $subject, $body);

Naturally the script times out after 30 seconds, and the error message "Fatal error: Maximum execution time of 30 seconds exceeded" appears. 

I changed the script timeout to 10 minutes (600 secs) in PHP.INI but after ~3 minutes of the script running it times out again, this time reporting the error: 

"The specified CGI application exceeded the allowed time for processing."

The script only manages to send ~700 emails out before the CGI timeout error message appeared, which stopped the process.

Any way to stop this timing out? It seems max_execution_time in PHP.INI doesn't [completely] work.

Regards,
Richard Gebbie

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-16 11:51 UTC] rich at safenames dot net
I meant to write "in a loop", not "in a look".
 [2002-04-16 12:03 UTC] sander@php.net
I don't think this is a bug in PHP, but it's a setting in IIS.
 [2004-09-05 02:23 UTC] walter at cybermight dot com
And? Did you guys figure out what setting it might be in IIS leading to this CGI timeout?

I have the same problem with the file upload...
see bug# 29982 at http://bugs.php.net/bug.php?id=29982
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC