note 52825 added to faq.installation
| From: | jhawk##### at yahoo dot com | Date: | Fri, 13 May 2005 19:52:15 +0000 |
| Subject: | note 52825 added to faq.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-89394@lists.php.net to get a copy of this message | ||
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!
----
Manual Page -- http://www.php.net/manual/en/faq.installation.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52825
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52825&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52825&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52825&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52825&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52825&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52825&report=yes
Search -- http://master.php.net/manage/user-notes.php