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.