php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29156 PHP hangs with IIS 5.0
Submitted: 2004-07-14 18:07 UTC Modified: 2004-07-15 16:40 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: bharris at lakeforesthospital dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 5.0.0 OS: Windows 2000 SP4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bharris at lakeforesthospital dot com
New email:
PHP Version: OS:

 

 [2004-07-14 18:07 UTC] bharris at lakeforesthospital dot com
Description:
------------
I installed php as a cgi module with the instructions on the php website.  I then created a page named "index.php" with a single line: <?php echo "hello"; ?>

When I view the page, nothing happens... Nothing happens... Nothing happens... Finally "CGI Timeout" happens.  Obviously it's not timing out because of the php code, as any other code produces the same result including absolutely no code.  

I've looked all over and I can't find a single positive response to this problem.  It seems to be one of those lost causes that no one has any idea about and therefore ignores.  Prove me wrong, O, prove me wrong!

Reproduce code:
---------------
<?php echo "hello"; ?>

Expected result:
----------------
hello

Actual result:
--------------
CGI Timeout
The specified CGI application exceeded the allowed time for processing. The server has deleted the process.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-14 20:52 UTC] lslight at no-log dot org
sale result with Windows NT Server and IIS4
 [2004-07-14 21:53 UTC] lslight at no-log dot org
Oops. Not a bug anymore for me. I had to change the executable associated with ".php" in IIS, from "php.exe" to "php-cgi.exe". Install.txt included is the distribution seems to be not updated.
 [2004-07-14 22:29 UTC] bharris at lakeforesthospital dot com
Well that sorta worked...  But now every page gives me an HTML error 400 - Bad Request.  Any ideas?
 [2004-07-15 10:22 UTC] lslight at no-log dot org
From install.txt :
!NOTE!: Since 4.1.2, the php.ini setting
cgi.force_redirect defaults to '1' which effectively prevents the cgi from working within IIS. You need to set up at least a minimal php.ini file with the following directive:
 cgi.force_redirect = 0

And no more http 400 error.
 [2004-07-15 14:27 UTC] edink@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.


 [2004-07-15 16:40 UTC] bharris at lakeforesthospital dot com
Well there was a "bug" in the documentation, and there's a bug in it's handling of IIS.  Maybe it's an IIS bug, but if you are aware of it you should handle it.  The defered responsibility might be just, but it is deffinately stupid.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 23:01:31 2024 UTC