RE: [PHP] W2K SP2, PHP 4.2.1, IIS 5
| From: | Bruce Vander Werf | Date: | Wed, 22 May 2002 18:05:34 +0000 |
| Subject: | RE: [PHP] W2K SP2, PHP 4.2.1, IIS 5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98782@lists.php.net to get a copy of this message | ||
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:josh@acsurf.net]
Sent: Wednesday, May 22, 2002 12:55 PM
To: php-general@lists.php.net
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