a.. Run Regedit.
b.. Navigate to: HKEY_LOCAL_MACHINE /System /CurrentControlSet /Services
/W3Svc /Parameters /ScriptMap.
c.. On the edit menu select: New->String Value.
d.. Type in the extension you wish to use for your php scripts. ex: .php
e.. Double click on the new string value and enter the path to php.exe in
the value data field. ex: c:\php\php.exe %s %s. The '%s %s' is VERY
important, PHP will not work properly without it.
f.. Repeat these steps for each extension you wish to associate with PHP
scripts.
g.. Now navigate to: HKEY_CLASSES_ROOT
h.. On the edit menu select: New->Key.
i.. Name the key to the extension you setup in the previous section. ex:
.php
j.. Highlight the new key and in the right side pane, double click the
"default value" and enter phpfile.
k.. Repeat the last step for each extension you set up in the previous
section.
l.. Now create another New->Key under HKEY_CLASSES_ROOT and name it
phpfile.
m.. Highlight the new key phpfile and in the right side pane, double click
the "default value" and enter PHP Script.
n.. Right click on the phpfile key and select New->Key, name it Shell.
o.. Right click on the Shell key and select New->Key, name it open.
p.. Right click on the open key and select New->Key, name it command.
q.. Highlight the new key command and in the right side pane, double click
the "default value" and enter the path to php.exe. ex: c:\php\php.exe -q %1.
(don't forget the %1).
r.. Exit Regedit.
s.. If using PWS on Windows, reboot to reload the registry.
"Sven-Olov Larsson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello World!
>
> When experementing with hawhaw.inc I want *.wml to be parsed by
> php4isapi.dll
>
> Windows98 with PWS How?
>
> --
> Greetings from Sweden:
> | Sven-Olov Larsson
> | [EMAIL PROTECTED]
> | http://www.debugdata.se/
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]