简体   繁体   English

模块'eAccelerator'已加载php警告

[英]Module 'eAccelerator' already loaded php warning

I'm getting this PHP warning in my error_log and want to get it fixed. 我在error_log中收到此PHP警告,并希望将其修复。 I'm told it is loaded within php.ini which I've verified as well as a bunch of configuration settings for the module. 有人告诉我它已加载到经过验证的php.ini中,以及该模块的大量配置设置。 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. 除非从php.ini中删除它就好。

Module 'eAccelerator' already loaded

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. 如果您的设置是在Debian(或类似Debian)上进行的,则可能是eAccelerator已加载到php.ini以及辅助文件中。 For instance, on Debian, php.ini lives at /etc/php5/apache2/php.ini (for PHP 5.x and Apache 2.x). 例如,在Debian上, php.ini位于/etc/php5/apache2/php.ini (对于PHP 5.x和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 . 但它也分析中的所有文件/etc/php5/conf.d/ ,这在我的情况下,包括像文件gd.inimysql.inisuhosin.ini I have see misconfigured packages add configuration to the end of php.ini as well as in a separate file in conf.d . 我看到配置错误的软件包将配置添加到php.ini的末尾以及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= ). 仅供参考,此扫描是使用编译时配置选项(特别是--with-config-file-scan-dir= )完成的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM