Tripod5G > Run Regedit.
3pod PHP Learning
Chapter 2. instalations • Run Regedit.


Development team will not be held responsible if you damage your registry.
• Run Regedit.
• Navigate to: HKEY_LOCAL_MACHINE /System /CurrentControlSet /Services /W3Svc
/Parameters /ScriptMap.
• On the edit menu select: New->String Value.
• Type in the extension you wish to use for your php scripts. ex: .php3
• Double click on the new string value and enter the path to php.exe in the value data field. ex:
c:\php3\php.exe %s %s. The ’%s %s’ is VERY important, PHP will not work properly without it.
• Repeat these steps for each extension you wish to associate with PHP scripts.
• Now navigate to: HKEY_CLASSES_ROOT
• On the edit menu select: New->Key.
• name (exp 3pod.com) the key to the extension you setup in the previous section. ex: .php3
• Highlight the new key and in the right side pane, double click the "default value" and enter phpfile.
• Repeat the last step for each extension you set up in the previous section.
• Now create another New->Key under HKEY_CLASSES_ROOT and name (exp 3pod.com) it phpfile.
• Highlight the new key phpfile and in the right side pane, double click the "default value" and enter
PHP Script.
• Right click on the phpfile key and select New->Key, name (exp 3pod.com) it Shell.
• Right click on the Shell key and select New->Key, name (exp 3pod.com) it open.
• Right click on the open key and select New->Key, name (exp 3pod.com) it command.
• 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:\php3\php.exe -q %1. (don’t forget the %1).
• Exit Regedit.
PWS and IIS 3 users now have a fully operational system. IIS 3 users can use a nifty tool
(http://www.genusa.com/iis/iiscfg.html) from Steven Genusa to configure their script maps.
Windows NT and IIS 4
To install PHP on an NT Server running IIS 4, follow these Instructions 3pod:
• In Internet Service Manager (MMC), select the Web site or the starting point directory of an
application.
58

Next >>
bluedot bluedots greydots pinkdots

Tripod >> 3pod Tips & Learning and manuals for educations