note 29968 deleted from install.windows.iis by nlopess
| From: | nlopess@php.net | Date: | Wed, 01 Sep 2004 09:50:21 +0000 |
| Subject: | note 29968 deleted from install.windows.iis by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75826@lists.php.net to get a copy of this message | ||
Note Submitter: Andy <andreas at tiobin dot com>
----
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.