The difference between the two installation modes of PHP. Modular installation: First, move php4ts. dll to or copy it to the windowssystem (Windows9xMe) or winntsystem32 (WindowsNT2000XP) directory to overwrite the existing files. then modular installation:
First, set php4ts. dll is moved to or copied to the windows/system (Windows 9x/Me) or winnt/system32 (Windows NT/2000/XP) directory to overwrite the existing files; then modify the Apache configuration file httpd. conf :( suppose c:/php/is your PHP Installation Path)
LoadModule php4_module c:/php/sapi/php4apache. dll
AddModule mod_php4.c
AddType application/x-httpd-php. php
For CGI installation:
If CGI mode is used, modify the settings of php. ini: cgi. force_redirect = 1 to enhance apache Security. then, insert the following content in httpd. conf:
ScriptAlias/php/"c:/php /"
AddType application/x-httpd-php. php
Action application/x-httpd-php "/php/php.exe"
The above is the difference between the two, and the others are the same.
Explain first put php4ts. move the dll to or copy it to the windows/system (Windows 9x/Me) or winnt/system32 (Windows NT/2000/XP) directory to overwrite the existing file. then...