Re: Trying to assosiate .wml

From: Date: Tue, 07 Aug 2001 01:25:36 +0000
Subject: Re: Trying to assosiate .wml
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8689@lists.php.net to get a copy of this message
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" <sol@debugdata.se> wrote in message news:20010806213020.88716.qmail@pb1.pair.com... > 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 > | sol@debugdata.se > | http://www.debugdata.se/ > > >

« previous php.windows (#8689) next »