Home  >  Article  >  Backend Development  >  PHP4.04 concise installation_PHP tutorial

PHP4.04 concise installation_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 16:03:13702browse

I have been using PHP 4.04 for a while and I feel very good, especially this 3M full version comes with a lot of good stuff. But seeing that many friends are still using the old version, I highly recommend it.

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-in support for MySQL, contains many extension modules
blocks, Zip format)

The accompanying instructions are too long, so now I will just talk about the installation under Apache (most people use Apache
, right?):
Assume that Apache is installed under c:\Apache, and PHP is unzipped to Under c:PHP, the windows directory is
c:windows (win98) or c:winnt (win2000).
1. Close Apache.
Edit c:Apacheconfhttpd.conf and add these lines according to your situation:
2. Copy c:PHPphp4ts.dll to c:windowssystem (win98) or
Under c:winntsystem32 (win2000), overwrite any original files.

# Install as Apache module, add the following lines to httpd.conf:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php. php
(Isn’t it much more convenient than using mod_php4-4.x.zip)

# Install in CGI mode, 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. Put c: Copy php.ini-dist to c:windows (win98) or c:winnt (win2000), rename it to php.ini, and edit it according to your needs.
What must be changed is extension_dir = c:/php

4. Restart Apache.


http://www.bkjia.com/PHPjc/316319.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/316319.htmlTechArticlePHP 4.04 has been used for some time and feels very good, especially this 3M full version comes with it Lots of good stuff. But seeing that many friends are still using the old version, I highly recommend it. ...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn