PHP two different installation modes _php Tutorial

Source: Internet
Author: User
Modular Installation:
First move the Php4ts.dll to or copy to the Windows/system (Windows 9x/me) or Winnt/system32 (Windows nt/2000/xp) directory, overwriting the original existing files; Then modify the Apache configuration file httpd.conf: (assuming c:/php/is your PHP installation path)
LoadModule Php4_module C:/php/sapi/php4apache.dll
Addmodule mod_php4.c
AddType application/x-httpd-php. php
To install as a CGI:
If you are using CGI mode, modify the settings for php.ini: Cgi.force_redirect = 1 To enhance Apache security, and then insert the following in httpd.conf:
scriptalias/php/"c:/php/"
AddType application/x-httpd-php. php
Action application/x-httpd-php "/php/php.exe"
The above is the difference between the two, the others are the same.

http://www.bkjia.com/PHPjc/631883.html www.bkjia.com true http://www.bkjia.com/PHPjc/631883.html techarticle Modular Installation: First move Php4ts.dll to or Copy to Windows/system (Windows 9x/me) or Winnt/system32 (Windows nt/2000/xp) directory, overwriting the original files; And then ...

  • 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.