RE: [PHP-WIN] PHP on IIS4 problem
| From: | Sean Malloy | Date: | Wed, 22 Jan 2003 03:24:09 +0000 |
| Subject: | RE: [PHP-WIN] PHP on IIS4 problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18023@lists.php.net to get a copy of this message | ||
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:patrick@mail.plugged.com.lb]
Sent: Tuesday, 21 January 2003 7:14 PM
To: php-windows@lists.php.net
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