Re: W2K SP2, PHP 4.2.1, IIS 5
| From: | Johan Ekstr�m | Date: | Wed, 22 May 2002 18:58:47 +0000 |
| Subject: | Re: W2K SP2, PHP 4.2.1, IIS 5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98801@lists.php.net to get a copy of this message | ||
This is what you must do.
Copy Part
^^^^^^^^^^
copy php4ts.dll to c:\winnt\system32\
copy php4sapi.dll to c:\winnt\system32\
if you want any extensions, copy them to to c:\winnt\system32\
configuration part
^^^^^^^^^^^^^^^
in php.ini
¨¨¨¨¨¨¨¨¨¨¨¨¨
edit doc_root like : c:/Inetpub/wwwroot
edit extension_dir like : c:/winnt/system32
then remove the ";" infront of every extension you would like to have.
now, in iis5.0
^^^^^^^^^^^^
don't use it as a "filter"
use it as an script/executable in the home flick, where you set document/web
root.
add "c:\winnt\system32\php4sapi.dll" and, fileextension, ofcourse ".php"
i hope i make sence... good luck.
"Joshua E Minnie" <josh@acsurf.net> wrote in message
news:20020522175503.49964.qmail@pb1.pair.com...
> 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
>
>