Try just using <? as the opening tag.

Make sure your php file has the extension php and make sure the php
extension is setup as a CGI extension in IIS (pointing to php.exe).


-----Original Message-----
From: Joshua E Minnie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 12:55 PM
Subject: [PHP] W2K SP2, PHP 4.2.1, IIS 5

Hey all,
    I have a problem, that I can't seem to find the answer to.  I have
checked the archives and the website, but to no avail.  I have installed PHP
4.2.1 on my local machine with IIS running W2K Pro.  When I run php -i, I
get the html output expected.  But when I try to open the simple php script


all I get is the script written directly to the browser as text.  I can't
figure out why it is not going through php.exe.  Any help would be greatly


PHP General Mailing List (
To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to