#29156 [Com]: PHP hangs with IIS 5.0
ID: 29156
Comment by: lslight at no-log dot org
Reported By: bharris at lakeforesthospital dot com
Status: Open
Bug Type: IIS related
Operating System: Windows 2000 SP4
PHP Version: 5.0.0
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-07-14 22:29:17] 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-14 21:53:34] 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 20:52:44] lslight at no-log dot org
sale result with Windows NT Server and IIS4
------------------------------------------------------------------------
[2004-07-14 18:07:03] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29156&edit=1
Thread (7 messages)