时间:2021-07-01 10:21:17 帮助过:45人阅读
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi.exe"
上面的代码添加到httpd.conf
2,做为apache的模块运行
LoadModule php5_module "c:/php/sapi/php5apache2.dll"
AddType application/x-httpd-php .php
上面的代码添加到httpd.conf
http://www.bkjia.com/PHPjc/313857.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/313857.htmlTechArticlephp: PHP Version 5.0.0b4 apache: Apache/2.0.49 (Win32) 1,做为cgi来运行 2,做为module来运行 1,做为apache2的cgi运行 ScriptAlias /php/ "c:/php/" AddType application/...