PHP 4.04 has been used for some time, feeling very good, especially the full version of this 3M many of the good stuff. But see a lot of friends are still using the old version, hereby recommend.
Address: http://www.php.net/downloads.php
PHP 4.0.4-19 December 2000
(3.79 Mb CGI binary and ISAPI module included, MySQL support built-in, many
Extensions included, packaged as Zip)
(3.79 Mb already contains CGI and ISAPI modules, built into MySQL support, and includes a number of extension modules
block, ZIP format)
The accompanying instructions E is too long, now just say the installation under Apache (most people use Apache
, right? ):
Let's assume that Apache is installed under C:\Apache, PHP is unzipped to C:\PHP, Windows directory is
C:\Windows (Win98) or C:\Winnt (Win2000).
1. Turn off Apache.
Edit c:\Apache\conf\httpd.conf, add these lines according to your situation:
2. Copy C:\PHP\php4ts.dll to c:\windows\system\ (win98) or
C:\Winnt\System32 (Win2000), overwrite any existing files.
# installed in the Apache module, add the following lines to the 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)
# to be installed in CGI, add the following lines to the 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) and change
Named PHP.ini, edit it according to your needs.
What has to be changed is Extension_dir = c:/php
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service