faqts : Computers : Programming : Languages : PHP : Installation and Setup : Operating Systems : Windows

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 15 people (67%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

Win98/PHP4/PWS4 - file with .php extension works good but same file with .php3 does not!

Aug 28th, 2000 21:21
Dave Fischer, Kelson Vibber, Narendra Jain,


Take the .reg file you used, then copy the main two lines and 
change ".php" to ".php3" or ".php4" or ".phtml" and then double-click 
on the .reg file.
For an example, mine looks like this:
**** start file ****
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\S
cript Map]
".php"="c:\\php\\php4isapi.dll"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\S
cript Map]
".php3"="c:\\php\\php4isapi.dll"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\S
cript Map]
".php4"="c:\\php\\php4isapi.dll"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\S
cript Map]
".phtml"="c:\\php\\php4isapi.dll"
**** end file ****
Note: you can delete the extra three [HKEY_LOCAL_MACHINE...] labels, 
and have all extensions together, like this
**** start file ****
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\S
cript Map]
".php"="c:\\php\\php4isapi.dll"
".php3"="c:\\php\\php4isapi.dll"
".php4"="c:\\php\\php4isapi.dll"
".phtml"="c:\\php\\php4isapi.dll"
**** end file ****