#23907 [Com]: Need additional installation step for IIS 6.0 / Windows Server 2003
| From: | unknown at simplemachines dot org | Date: | Fri, 17 Dec 2004 00:46:50 +0000 |
| Subject: | #23907 [Com]: Need additional installation step for IIS 6.0 / Windows Server 2003 | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969365494@lists.php.net to get a copy of this message | ||
ID: 23907
Comment by: unknown at simplemachines dot org
Reported By: bryn at mrpath dot com
Status: Critical
Bug Type: Documentation problem
Operating System: Windows Server 2003
PHP Version: 4.3.2
New Comment:
I can confirm that:
- this affects Windows Server 2003 and IIS 6 only.
- this is needed for both CGI or ISAPI mode.
- this is currently not in the documentation.
A tutorial I wrote earlier this year covers many of the major steps
involved, although it hasn't been updated for PHP 5 yet (it was written
while PHP 5 was still in beta.)
The relevant section of said tutorial can be found here:
http://unknown.network32.net/tutorial.basic-server#configure.php.iis
The Macromedia tutorial linked to in one of the previous comments does
*not* describe the necessary information either. However, some
comments to the documentation page do.
Any other problems are not related to this bug; notably, the whole CGI
issue *is* properly documented already (although ISAPI is more
efficient...)
Thanks,
-[Unknown]
Previous Comments:
------------------------------------------------------------------------
[2004-09-07 19:57:18] joel at preacherboy dot net
I have my moments.
------------------------------------------------------------------------
[2004-09-06 20:55:10] m_deheneffe at hotmail dot com
you're a genius...
------------------------------------------------------------------------
[2004-09-01 17:53:38] joel at preacherboy dot net
I couldn't for the life of me get IIS 5.1 and PHP 5 in CGI mode to
work. I ignored all previous PHP 4 related instructions as I figured
them to be irrelevant. After reading Philip's comments about the
Macromedia tutorial, I finally decided using their method for CGI mode
just might work.
All it took to get IIS 5.1 and PHP 5 to work in CGI mode was the
following lines, never referenced in the official documentation as what
you *must* do:
cgi.force_redirect = 0 // Default must be 1 when commented out.
cgi.redirect_status_env = ENV_VAR_NAME
Now that I'm not running in ISAPI mode, all of my scripts aren't open
handles of dllhost.exe. dllhost.exe is no longer crashing every time
the system is restarted.
Yay!
------------------------------------------------------------------------
[2004-08-22 20:55:33] philip@php.net
The IIS docs need help, someone who uses IIS should really update these
docs. Marking as critical. The PHP installer should also look into
being updated for this (although IMHO nobody should use the PHP
installer!)
------------------------------------------------------------------------
[2004-08-21 05:52:48] yo at momma dot org
This need to go on the install.txt file. BIG TIME. Searching google
for ""HTTP Error 404 - File or directory not found. PHP IIS 2003"" and
this article came up 7th. Does not bode well for noobs (A turn off, as
in why bother) as well as experienced developers (A serious irritant,
as in "Oh great, another speed bump and another hour or 2 of my time").
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/23907
--
Edit this bug report at http://bugs.php.net/?id=23907&edit=1