在Apache中支持PHP的配置参数

打开 httpd.conf 文件 加入以下配置

<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> 以php模块配置apache2 .2 .x

#BEGINPHPINSTALLEREDITS-REMOVEONLYONUNINSTALLbyhooyes
PHPIniDir
" D:/php-5.2.6-Win32/ "
LoadFileD:/php-
5.2.6 -Win32/php5ts.dll
LoadFileD:/php-
5.2.6 -Win32/libmysql.dll
LoadFileD:/php-
5.2.6 -Win32/ntwdblib.dll
LoadModulephp5_module
" D:/php-5.2.6-Win32/php5apache2_2.dll "
AddTypeapplication/x-httpd-php.php

#ENDPHPINSTALLEREDITS-REMOVEONLYONUNINSTALL

你可能感兴趣的:(apache)