Re: PWS & PHP
| From: | Phil Driscoll | Date: | Thu, 15 Feb 2001 11:48:51 +0000 |
| Subject: | Re: PWS & PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-39886@lists.php.net to get a copy of this message | ||
>How can i make my web server PWS parse html file into PHP? cause it shows
>nothing when i include php in an html file.However it works when i put it
in
>a php file !
You need to edit your registry (using regedit or a .reg file based on the
one shown here).
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Scrip
t Map]
".html"="[PUT PATH HERE]\\php.exe"
The registry entry will be the same as the .php one you already have, but
will be called .html
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org