#23907 [Ctl]: Need additional installation step for IIS 6.0 / Windows Server 2003
| From: | philip@php.net | Date: | Tue, 18 Jan 2005 03:09:53 +0000 |
| Subject: | #23907 [Ctl]: Need additional installation step for IIS 6.0 / Windows Server 2003 | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969366022@lists.php.net to get a copy of this message | ||
ID: 23907
Updated by: philip@php.net
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:
When this bug report is dealt with (and closed!), also solve the
following bug reports: #29275 and #21833
Previous Comments:
------------------------------------------------------------------------
[2004-12-17 01:46:47] unknown at simplemachines dot org
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]
------------------------------------------------------------------------
[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!)
------------------------------------------------------------------------
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