note 57432 added to install.windows.iis
| From: | paul_noeldner at hotmail dot com | Date: | Tue, 04 Oct 2005 02:58:31 +0000 |
| Subject: | note 57432 added to install.windows.iis | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-96327@lists.php.net to get a copy of this message | ||
PROBLEM
PHP $DOCUMENT_ROOT was not set in IIS.
ANALYSIS
A Google search turned up a suggestion re using ISAPI instead of CGI.
SOLUTION
I did the fix per these suggested steps from Google search:
1 Downloaded PHP5 zip
2 Added ISAPI filter PHP5ISAPI.DLL named PHP
3 Changed document type .php to point at the PHP5ISAPI.DLL file instead of PHP.EXE.
RESULT
This worked - the php pages started picking up $DOCUMENT_ROOT as expected.
General suggestion: Don't waste time with CGI, use ISAPI.
----
Manual Page -- http://www.php.net/manual/en/install.windows.iis.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57432
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57432&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57432&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57432&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57432&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57432&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57432&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57432&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57432&report=yes
Search -- http://master.php.net/manage/user-notes.php