Install PHP notes under WIN98 in Apache module mode
Foolboy@chinaren.com
★ Related software:
Mod_php4-4.0.1-pl2.zip
Php-4.0.1pl2-win32.zip
The above software can be downloaded on www.php.net or www.phpuser.com
Note that the two versions must be the same,
(The key is Mod_php4.dll is the same as the Php4ts.dll and Msvcrt.dll versions)
★ Specific steps:
Unzip each of the two. zip files with WinZip
Php-4.0.1pl2-win32.zip decompression to E:\php\ Mesh Road
Mod_php4-4.0.1-pl2.zip extract to the E:\mod_php\ directory
(i) Install PHP interpreter and copy php.ini-dist to%windows% WINDOWS
installation directory, rename to php.ini. Edit the php.ini changes as follows:
Extension dir = E:\Phptools\php\; the directory in which the library is dynamically loaded
Add SET pass=e:\phptools\php\ in Atuoexec.bat
(This will require a reboot at the end);
or copy the Php4ts.dll directly to the%system% (no restart required)
(ii) Add modules to Apache,
Copy the Mod_php4.dll under the E:\mod_php\apache_dir\modules\ to
The. \modules subdirectory in the Apache installation directory;
Copy the Msvcrt.dll to the root directory of the Apache installation;
Copy the E:\mod_php\apache_dir\conf\mod_php4.conf to the. \conf subdirectory of Apache;
Then edit the Apache. \conf under the srm.conf to add a:
Include conf/mod_php4.conf;
★ Final Test
Execute apache-k start to launch and see the presence
apache/1.3.14 (WIN32) php/4.0.1pl2 running ...
You can know that your PHP has been run in Apache module mode, if you are not sure
Write a test.php test.
test.php
NOTE: The Apache version of this use is 1.3.14
http://www.bkjia.com/PHPjc/315462.html www.bkjia.com true http://www.bkjia.com/PHPjc/315462.html techarticle Install PHP notes under WIN98 with Apache module foolboy@chinaren.com★ related software: Mod_php4-4.0.1-pl2.zip php-4.0.1pl2-win32.zip The above software can be www.php.net or Www.phpuser ...