#23907 [Com]: Need additional installation step for IIS 6.0 / Windows Server 2003

From: Date: Wed, 01 Sep 2004 15:53:40 +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-969363649@lists.php.net to get a copy of this message
ID: 23907 Comment by: joel at preacherboy dot 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: 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! Previous Comments: ------------------------------------------------------------------------ [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"). ------------------------------------------------------------------------ [2004-04-08 13:51:08] bryn at mrpath dot com Other things to check on windows server 2003 installations (and other windows installations based on NT/2k server) are that extension DLLs have the appropriate ntfs security permissions (have to be able to execute by IIS acct iusr_machinename) ------------------------------------------------------------------------ [2004-04-08 12:46:39] jrcole at ualr dot edu Does anything special need to be done for other extensions, such as for mssql? Im running Server 2003 with IIS 6, PHP installed as ISAPI, and everything PHP works great. My only problem is using mssql commands. Scripts that work perfect on XP running IIS with PHP as CGI will not even connect to our sql server, fails with @mssql_connect function. Any ideas? Is this even remotely related to extensions? Viewing phpinfo shows mssql installed... Thanks for any help. ------------------------------------------------------------------------ [2004-01-22 11:23:17] farkhad_m at rambler dot ru thanks bryn, your suggestion helped me too. -fm ------------------------------------------------------------------------ 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

« previous php.doc (#969363649) next »