longpan 发表于 2018-11-26 13:17:20

PHPINIDir directive honored per configuration tree apache配置错误

  apache下配置php 如果服务无法启用,可通过windows的事件查看器来查找真正的原因,如果出现以下的错误提示
  The Apache service namedreported 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"
  删除掉即可。



页: [1]
查看完整版本: PHPINIDir directive honored per configuration tree apache配置错误