Install and configure pws + php3 in win98. Configuration: Set c: php3php3. ini-instcopy: php3.ini, and change "dic_rootxxxx" to "dic_rootc: inetpubwwwroot" to "extension_dir. extension_dirc: php3: Configure php3.inicopyto: Set c: php3php3. ini-inst copy: php3.ini and modify
Find dic_root = xxxx and change dic_root = c: inetpubwwwroot
Find extension_dir =./And change it to extension_dir = c: php3.
Copy php3.ini to c: windows
Modify regedit.exe: hkey_local_machine/system/CurrentControlSet/services/W3Svc/Parameters/ScriptMap, right-click ScriptMap, create a string value, and enter the extension used by the PHP3 script program, for example,. php3. Enter c: php3php.exe % s in the new string value. Similarly, two strings ". php" and ". phtm3" are created.
Create a new primary key under hkey_classes_root. set the default key value in the right column to phpfile. Similarly, create ". php", ". phtm3"
Create a new primary key phpfile under hkey_classes_root, set the default key value in the right column to phpScript, then create phpfile-shell-open-command, and set the default key value in the right column to c: php3php.exe % 1.
Put the php3 file in C: inetpubwwwroot to run it!
Export copy is php3.ini and find dic_root = xxxx, change dic_root = c: inetpubwwwroot to find extension_dir =./change extension_dir = c: php3 to copy php3.ini...