If you are usiong the PHP.EXE binary instead of the ISAPI module.

.php should be mapped to:

c:\php\php.exe "%1"

so IIS passes the document to PHP as an argument.

-----Original Message-----
From: Patrick Chemali [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 21 January 2003 7:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] PHP on IIS4 problem


Hello,
I am newbie to PHP and have been trying to install PHP on my local W2k IIS4
until I get the chance to setup a Linux box. I used the window binary from
php.net with installer PHP 4.3.0 installer (CGI)
The installation ran smoothly. and I checked for permissions although I am
not on NTFS .
The IIS renders php files as regular html without executing the code
enclosed within the <?php ?> tags

I also ran c:\php\php.exe -i and it rendered indeed the proper html document
without any errors.
Under the IIS Manager >> properties >>WWWService>>Home Directory>>App
Mappings

.php is already associated with c:\php\php.exe  with all verbs option and
script checked

It just won't work !!
any help is greatly appreciated
thanks in advance

PC


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to