您的位置:首页 > 运维架构 > Apache

PHPINIDir directive honored per configuration tree apache配置错误

2011-04-02 16:09 381 查看
apache 下配置php 如果服务无法启用,可通过windows的事件查看器来查找真正的原因,如果出现以下的错误提示

The Apache service named reported the following error:

>>> Only first PHPINIDir directive honored per configuration tree - subsequent ones ignored

这个说明 php的下面配置已经有了,意思是加重复了。

LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"

PHPIniDir "C:/Program Files/PHP"
删除掉即可。
本文出自 “逸冰龙” 博客,请务必保留此出处http://icedragon.blog.51cto.com/292088/533964
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐