Josh, 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). --Bruce -----Original Message----- From: Joshua E Minnie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 12:55 PM To: [EMAIL PROTECTED] 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 <?php phpinfo(); ?> 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 appreciated. -josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php