PHP4 in Apache

xiaoxiao2021-03-06  87

Copy this, use it after it

Edit http.conf

CGI mode installation

----------------------------------------------

AddType Application / X-httpd-php .php

Action Application / X-httpd-php / php/php.exe

Scriptalias / PHP / "D: / PHP /"

Install PHP in modularity -------------------------------------- Add the following one Statement:

LoadModule PHP4_MODULE D: /PHP/SAPI/PHP4APache2.dll

Copy php.ini to WinNT or view the configuration file (php.ini) path in PHPINFO ().

Apache parsing the free extension file for PHP format

Modify httpd.conf to find ,

Add: DefaultType Application / X-HTTPD-PHP

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

New Post(0)