Home > Backend Development > PHP Tutorial > The difference between the two installation modes of PHP_PHP tutorial

The difference between the two installation modes of PHP_PHP tutorial

WBOY
Release: 2016-07-13 10:59:35
Original
773 people have browsed it

Modular installation:
First move or copy php4ts.dll to the windows/system (Windows 9x/Me) or winnt/system32 (Windows NT/2000/XP) directory, overwriting the original existing file; then modify 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
As CGI installation:
If using CGI mode, please modify the settings of php.ini: cgi.force_redirect = 1 to enhance the security of apache, then insert the following in httpd.conf Content:
ScriptAlias ​​/php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
The above are the differences between the two, everything else is the same.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/631883.htmlTechArticleModular installation: First move or copy php4ts.dll to windows/system (Windows 9x/Me) or Under the winnt/system32 (Windows NT/2000/XP) directory, overwrite the original existing files; then...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template