note 52825 deleted from faq.installation by nlopess
| From: | nlopess@php.net | Date: | Sat, 14 May 2005 16:53:12 +0000 |
| Subject: | note 52825 deleted from faq.installation by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-89432@lists.php.net to get a copy of this message | ||
Note Submitter: jhawk##### at yahoo dot com[twofoureighttwoone]
----
IIS6 + 2003 + PHP5
------------------------
extract PHP5 to c:\PHP
* copy php5ts.dll to c:\windows\system32\php5ts.dll
* copy php.ini-recommended to c:\windows\php.ini
* edit c:\windows\php.ini as follows:
* doc_root = "x:\path\to\root\of\website"
* extension_dir = "c:\php\ext"
configure IIS6
* Web Service Extensions -> Add new Web service extension
* Name does not matter (I use PHP5 ISAPI)
* Add... and browse to c:\php\php5isapi.dll
* Check "Set extension status to Allowed"
configure website
* right click the website's name under Web Sites in IIS Manager, choose properties
* choose Home Directory tab, then Configuration
* Add... Browse... to c:\php\php5isapi.dll
* Extension is .php
* Hit OK
* Make sure Execute permissions: is Scripts only
Set folder permission (<-- THIS IS THE KEY STEP)
* Browse to c:\php, right click on the root php folder, and choose properties.
* Choose Security tab
* Add... Advanced... Find Now
* Choose IWAM_XXX, where XXX is your computer's name
* OK, OK again
* Make sure the new IWAM_XXX has Read & Execute, List Folder Contents, and Read enabled. Some
other options may have greyed out check boxes, leave them alone.
Restart IIS, and you are good to go!