Re: W2K SP2, PHP 4.2.1, IIS 5
| From: | Joshua E Minnie | Date: | Wed, 22 May 2002 18:11:36 +0000 |
| Subject: | Re: W2K SP2, PHP 4.2.1, IIS 5 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98783@lists.php.net to get a copy of this message | ||
Already tried the other tag, and php extension is setup as a CGI in IIS.
That is why this is puzzling me so.
-josh
"Bruce Vander Werf" <brucev@cyberlink.com> wrote:
> 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
"Joshua E Minnie" <josh@acsurf.net> wrote:
> 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