Install php_php Tutorial in Apache module under WIN98

Source: Internet
Author: User
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 ...

  • Related Article

    Contact Us

    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

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.