note 38251 added to faq.installation
| From: | nigel dot salt at hotmail dot com | Date: | Sat, 13 Dec 2003 22:00:23 +0000 |
| Subject: | note 38251 added to faq.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-61916@lists.php.net to get a copy of this message | ||
Finally got IIS 5 and PHP 5 to talk.
What worked for me was:
1) Set
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
W3SVC\Parameters\Script Map]
".php"="your path to php\\php.exe"
2) ensure there is not a php.ini in the windows system folder and that there is one wherever
you've put PHP
3) edit php.ini and set cgi force redirect to 0 and cgi.rfc2616_headers = 1
4) Put the PHP scripts in their own folder underneath the inetpub root
5) Open the IIS console, right click your new php folder
In the Directory tab
set application name to the name of the folder
set executable and script as permission
set application protection to low
Click configuration and check that .php is mapped to wherever you put
PHP
Restart IIS
Try a very simple PHP page and it should work
Nigel
----
Manual Page -- http://www.php.net/manual/en/faq.installation.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38251
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38251&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38251&report=yes
Search -- http://master.php.net/manage/user-notes.php