日期:2014-05-17  浏览次数:20809 次

windows下apache配置PHP


在conf/httpd.conf中添加以下内容

#Where the php.ini file is located

PHPIniDir "C:/Program Files/PHP/php5.3.4/"
#How to process PHP code
LoadModule php5_module "C:/Program Files/PHP/php5.3.4/php5apache2_2.dll"
#Files that end in .php should be processed as PHP code
AddType application/x-httpd-php .php