Modular Installation:
First move the Php4ts.dll to or copy to the Windows/system (Windows 9x/me) or Winnt/system32 (Windows nt/2000/xp) directory, overwriting the original existing files; Then modify the Apache configuration file httpd.conf: (assuming 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
To install as a CGI:
If you are using CGI mode, modify the settings for php.ini: Cgi.force_redirect = 1 To enhance Apache security, and then insert the following 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, the others are the same.
http://www.bkjia.com/PHPjc/631883.html www.bkjia.com true http://www.bkjia.com/PHPjc/631883.html techarticle Modular Installation: First move Php4ts.dll to or Copy to Windows/system (Windows 9x/me) or Winnt/system32 (Windows nt/2000/xp) directory, overwriting the original files; And then ...