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

 

posted on 2015-03-30 19:00  Fly_Wind  阅读(685)  评论(0编辑  收藏  举报

导航