PHP 4.1.0 Installation of Apache Modules under Windows

zhaozj2021-02-17  84

Some functions (such as user verification) require PHP to be installed in an Apache module, if you don't know how to install, then this is what you need to know. The election from PHP's install.txt first you need to copy php4ts.dll to Windows / System (for Windows 9x / ME) or WinNT / System32 (for Windows NT / 2000) directory overwrites the previous file. Then add the following two lines to the apache setting file (httpd.conf) loadModule php4_module c: / php/sapi/php4apache.dll addtype application / x-httpd-php .php Remember to restart the server to take effect, such as Net Stop Apache then After Net Start Apache, view phpinfo () if the Server API is displayed as Apache has run in module mode.

转载请注明原文地址:https://www.9cbs.com/read-31217.html

New Post(0)