PHP 4.04 has been in use for a while, and it feels good, especially the complete 3 M version comes with a lot of good stuff. However, we recommend that you have many friends who are still using the old version.
Address: http://www.php.net/downloads.php
PHP 4.0.4-19 December 2000
(3.79 mb cgi binary and ISAPI module encoded ded, MySQL support built-in, embedded
Extensions encoded ded, packaged as zip)
(3.79 MB already contains CGI and ISAPI modules, built-in support for MySQL, including many extension models
Block, zip format)
The accompanying description e is too long. Now I only want to talk about the installation under Apache (most people use Apache
Right ?) :
Assume that Apache is installed in c: \ apache and PHP is decompressed to c: \ PHP. the Windows directory is
C: \ WINDOWS (Win98) or C: \ WINNT (Win2000 ).
1. Disable Apache.
Edit c: \ apache \ conf \ httpd. conf and add the following lines as needed:
2. Copy c: \ PHP \ php4ts. DLL to C: \ WINDOWS \ SYSTEM \ (Win98) or
C: \ winnt \ SYSTEM32 (Win2000), overwrite any original file.
# Install the SDK using the Apache module and add the following lines to httpd. conf:
Loadmodule php4_module C:/PHP/SAPI/php4apache. dll
Addtype application/X-httpd-PHP. php
(Is it more convenient than using that mod_php4-4.x.zip)
# Install it in CGI Mode and add the following lines to httpd. conf:
ScriptAlias/PHP/"C:/PHP /"
Action application/x-httpd-php4 "/PHP/php.exe"
Addtype application/x-httpd-php4. php
3. Copy c: \ PHP. ini-Dist to c: \ windows \ (Win98) or C: \ winnt \ (Win2000). Modify
Name PHP. ini and edit it as needed.
Must be changed to extension_dir = C:/PHP
4. Restart Apache.