apache加载php配置

#载入php模块和ini路径,以及凡是.php开头的以它来处理
LoadModule php5_module E:/server/php/php5apache2_2.dll
PHPIniDir "E:\server\php"
AddType application/x-httpd-php .php .phtml

#php ini指定php模块路径
extension_dir = "E:/server/php/ext"

#配置时区
date.timezone =PRC 

#开启相应模块
extension=php_gd2.dll
extension=php_bz2.dll
extension=php_mysql.dll
extension=php_mysqli.dll

 

你可能感兴趣的:(apache)