Super simple two-step completion WinXPSP2 + Apache1.3.33 + php4.3.7 + mysql4.1.3 configuration

xiaoxiao2021-04-10  519

Say that I often need this environment, so I have to configure every time I have to do system, I have seen the article on the Internet, and I can't stand it, I have never been able to make this set of installation methods, just two steps. But you The version is like me.

Before you do, you have to ensure that your apache is completed according to the default installation (note the installation directory, that is, the directory of apache.exe, such as c: / apache), PHP has been decompressed (note the decompression directory, there is PHP. Ini-dist of the directory, such as C: / PHP), MySQL is completed by default, the service is already started (the root password will be set).

1. Modify the value of WinXP environment variable PATH (modified in my computer, the property), in this value, "; C: / PHP; C: / PHP / DLLS" Note.

2. Modify the apache's httpd.conf file, plus the end of the file

LoadModule php4_module "c: / php/sapi/php4apache.dll" AddType Application / X-httpd-php .php

Then change DirectoryIndex, change to DirectoryIndex INDEX.html Index.php

Complete. Run apache can be used.

转载请注明原文地址:https://www.9cbs.com/read-133477.html

New Post(0)