php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21688 CGI Timeout
Submitted: 2003-01-16 09:21 UTC Modified: 2003-05-30 01:32 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: cchrist at csas dot cz Assigned:
Status: Closed Package: IIS related
PHP Version: 4.3.0 OS: win2k advanced server
Private report: No CVE-ID: None
 [2003-01-16 09:21 UTC] cchrist at csas dot cz
I'm using php 4.3.0 and IIS 5, Win2kadv

As already a couple of others found out, PHP misbehaves, when installed as CGI under Win2k advanced server. the scripts more than often time out and the server announces the following error message - sometimes the server even hangs totally - but in any case there are a lot of php.exe processes in the server's memory left after shutting IIS down:

The script /xxx/index.php with parameters '' has not responded within the configured timeout. The HTTP server is terminating the script.
For additional information please visit micro$oft website bla bla bla...

Who knows a cure for this IIS version? As I don't have any problem under apache for windows 

Somebody posted a registry hack how to stop that. Could you repost that?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-06 09:43 UTC] leen at wirehub dot nl
It seems that when the buffer contents is very small (when using output buffering ?? or under normal usage, still looking into that) doens't return headers and/or body/wrong headers (don't know which one).

The CGI-interface of IIS doesn't know how to handle it anyway.

Hope this was usefull.
 [2003-02-06 10:05 UTC] leen at wirehub dot nl
ok, on my workstation I have Visual Studio and thus I know the CGI-version of PHP actually crashed.

Here is the CGI-IIS-error:

'CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:'

Here the popup's:
Application popup: php.exe - Application Error : The instruction at "0x1b00997b" referenced memory at "0x1b00997b". The memory could not be "read".

Application popup: php.exe - Application Error : The instruction at "0x10030727" referenced memory at "0x01790dd8". The memory could not be "read".
 [2003-02-07 02:14 UTC] cchrist at csas dot cz
I've installed the new stable WIN32 release on my production environment, hopefully the bug is fixed. lets see how it behaves. Would be glad. What has been changed? it looks good, any weird behaviour so far. Should I also post the php.ini config file?
 [2003-02-07 23:23 UTC] sniper@php.net
Please let us know if it works or not.

 [2003-02-11 01:57 UTC] cchrist at csas dot cz
Until now I hadn't anymore php.exe crashes. Looks great.
When do you release a new version with this patch applied?

regards
Christoph Christ
 [2003-02-11 02:45 UTC] magnus@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

User reports the problem went away with stable snapshot. 
 [2003-05-29 12:29 UTC] eduardo at tre-to dot gov dot br
Hi!
I have the same problem related here but already make the steps and do not solved the problem.

I am now with the version 4.3.3 of PHP(the snap link above), IIS 5.0 an W2K ADV Server. I using the CGI version 

Please can you help me?

Thanks.
 [2003-05-30 01:32 UTC] cchrist at csas dot cz
I didn't have any problem so far with this bugfix until now. Although I didn't upgrade to the newest version as the currently installed is working pretty. No crashes anymore :) 
For other versions I cannot speek, as I don't know, whether the patch has been applied to the newest version as well...

regards
Chris
 [2003-05-30 13:59 UTC] eduardo at tre-to dot gov dot br
I cannot solves the problem in CGI Mode. But, in Isapi Mode the problem don't appears.

Well, it's all...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 13 07:01:30 2024 UTC