note 29968 added to install.iis
| From: | Andy | Date: | Sun, 02 Mar 2003 16:58:17 +0000 |
| Subject: | note 29968 added to install.iis | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44744@lists.php.net to get a copy of this message | ||
The following PHP installation works correctly under Windows 2003 Enterprise Server's IIS 6.0
with ISAPI:
(Note: %SYSTEMROOT% is your Windows-directory, usually c:\Windows)
* Download the latest PHP .zip, don't bother with the auto-installer
* Extract it somewhere, I personally use "c:\Program Files\PHP"
Copy "php.ini-recommended" to %SYSTEMROOT%\php.ini
Copy php4ts.dll to %SYSTEMROOT%\System32
Enter the IIS Managment Console.
Select the "All Unknown ISAPI Extensions" list-item and select "Allow" on your
left. Ignore any warnings.
Under "Tasks", click "Add a new Web service extension..." enter "PHP"
as the extension name and add "<PHP installation path>\sapi\php4isapi.dll" to the
list of Required Files. Check "Set extension status to Allowed"
Open the properties for the web site on which you are enabling PHP. (Typically "Default Web
Site")
Under "Application Settings" in the "Home Directory" tab:
Select "Scripts and Executables" for "Execute permissions"
Click the "Configuration..."-button and then click "Add..."
Input, or browse to, the isapi-dll, "<PHP installation path>\sapi\php4isapi.dll".
Enter ".php" as the extension. Click OK.
Close the web site properties by clicking OK.
PHP should now be working, try making a simple page. Consider thyself spoonfed.
--
http://www.php.net/manual/en/install.iis.php
http://master.php.net/manage/user-notes.php?action=edit+29968
http://master.php.net/manage/user-notes.php?action=delete+29968
http://master.php.net/manage/user-notes.php?action=reject+29968