dongtaogu8510
dongtaogu8510
2009-10-30 12:51
浏览 18
已采纳

模块'eAccelerator'已经加载了php警告

I'm getting this PHP warning in my error_log and want to get it fixed. I'm told it is loaded within php.ini which I've verified as well as a bunch of configuration settings for the module. I'd like to maintain the module configuration in the place where it's loaded so I need to find out how else to remove it from the list.

Unless removing it from php.ini is just fine.

Module 'eAccelerator' already loaded

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • douren9077
    douren9077 2009-10-31 04:02
    已采纳

    It sounds to me like you've got the configuration in multiple files.

    If your set up is on Debian (or something like Debian) it could be that eAccelerator is loaded in php.ini as well as in a secondary file. For instance, on Debian, php.ini lives at /etc/php5/apache2/php.ini (for PHP 5.x and Apache 2.x). But it also parses all the files in /etc/php5/conf.d/, which in my case includes files like gd.ini, mysql.ini, and suhosin.ini. I have see misconfigured packages add configuration to the end of php.ini as well as in a separate file in conf.d. This will give the kind of error you're seeing.

    FYI, this scanning is done with a compile-time configure option (specifically, --with-config-file-scan-dir=).

    点赞 评论

相关推荐