|
Posted by Jeff North on 12/06/05 15:06
On Wed, 30 Nov 2005 14:52:47 -0700, in alt.php Martin
<martinvalley@comcast.net> wrote:
>| Can someone point me to some step-by-step instructions for getting PHP
>| to work using ISAPI?
>|
>| My environment:
>| Windows XP Pro - Service Pack 2
>| IIS 5.1
>| PHP 5.1.1
>|
>| I'm setting up a new computer - to be used strictly for in-house
>| development work.
>|
>| I find the PHP manual to be nearly incomprehensible; although I have
>| followed the instructions as best I can.
>|
>| I found a good set of instructions here:
>| http://psdforums.com/showthread.php?s=baf33df1b8ae8425ee3369db62c146c5&t=1366
>| but they are for IIS 6.0 on Windows 2003. There are apparently some
>| significant differences. Where he says to add a web service extension
>| for PHP, my IIS doesn't even have the specified menu item.
php.ini located in c:\php folder
Changes made to php.ini file
extension_dir = "c:\PHP\ext"
cgi.force_redirect = 0
fastcgi.impersonate = 1
extension=php_mysql.dll
;;;;; any other extension required
mysql.default_port = 3306
Edited the pws-php5isapi.reg file and fixed up the folder name
Right mouse click on pws-php5isapi.reg file and select Merge to set up
registry.
Start|Settings|Control Panel|System|Advanced|Environment Variables
Set the command line PATH to include c:\php
Create New System Variable PHPRC value C:\PHP
IIS mappings should already be set to php|php5isapi.dll
----
The only changes that I just made to the ini file was:
ensure that doc_root=<blank>
set fastcgi.impersonate = 1
---------------------------------------------------------------
jnorthau@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------
Navigation:
[Reply to this message]
|