Home  >  Article  >  Backend Development  >  PHP4.1.0 installation in Apache module mode under Windows_PHP tutorial

PHP4.1.0 installation in Apache module mode under Windows_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:22:29986browse


Some features (such as user authentication) require PHP to be installed as an Apache module.
If you don’t know how to install it, here’s what you need to know.
Excerpted from php's install.txt
First you need to copy php4ts.dll to the windows/system (for Windows 9x/Me)
or winnt/system32 (for Windows NT/2000) directory before overwriting file.
Then add the following two lines to the Apache settings file (httpd.conf)
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
Remember You need to restart the server to take effect, for example
NET STOP APACHE
then
NET START APACHE
and then check phpinfo(). If the Server API is displayed as Apache, it is already running in module mode.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/532337.htmlTechArticleSome functions (such as user authentication) require PHP to be installed as an Apache module. If you don’t know how to install it, then Here's what you need to know. Excerpted from php's...
Statement:
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