note 20538 deleted from installation by irc-html
| From: | irc-html@php.net | Date: | Wed, 24 Apr 2002 19:10:50 +0000 |
| Subject: | note 20538 deleted from installation by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-29777@lists.php.net to get a copy of this message | ||
Tips for Installing php4 on Win2k Server with IIS5
It took a bit of time to get php setup and working this is how i set it up.
1 Download the php4.x windows version zip file, unzip all the files to a new
directory called c:/php
2 setup access rights for the Isuer account on the c:/php directory
(IIS needs this to run php.exe)
3 copy the .dll files from the php/dll folder to winnt/system32
4 rename the "php.ini-dist" file in c:/php to be "php.ini"
note - this is a development config only - dont use on a public web site !
5 open php/ini with notepad and goto the "paths & directory" section,
change the line "; cgi.force_redirect = 1" to "cgi.force_redirect = 0"
note- do not insert the " marks - these are for reference.
6 save the "php.ini" file to c:/winnt , this is the default path that php.exe is setup
to look for it.
7 setup access rights for the Isuer account on the php.ini file (only that file not
the entire winnt directory !)
8 goto Administrive tools - Internet Services Manger - select your site and right
click - properties - Home Directory tab - and click configuration
add a new extension called "php" then add the executable path i.e. c:/php/php.exe
9 goto Administrive tools - Internet Services Manger - select your site and right
click - all tasks - permissions wizzard - and set wizzard to allow script running on your site.
10 add a test script to your site with a .php extension and run it to test.