模块“eAccelerator”已加载 php 警告
我在 error_log 中收到此 PHP 警告并希望修复它。我被告知它已加载到 php.ini 中,我已经验证了该文件以及该模块的一堆配置设置。我想在加载的位置维护模块配置,因此我需要了解如何将其从列表中删除。
除非从 php.ini 中删除它就可以了。
模块“eAccelerator”已加载
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在我看来,您已经在多个文件中进行了配置。
如果您的设置是在 Debian(或类似 Debian 的系统)上进行的,则 eAccelerator 可能会加载到
php.ini
以及辅助文件中。例如,在 Debian 上,php.ini
位于/etc/php5/apache2/php.ini
(对于 PHP 5.x 和 Apache 2.x)。但它也会解析/etc/php5/conf.d/
中的所有文件,在我的例子中包括gd.ini
、mysql.ini< /code> 和
suhosin.ini
。我看到配置错误的包将配置添加到php.ini
的末尾以及conf.d
中的单独文件中。这将给出您所看到的错误类型。仅供参考,此扫描是通过编译时配置选项(具体来说,
--with-config-file-scan-dir=
)完成的。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 likegd.ini
,mysql.ini
, andsuhosin.ini
. I have see misconfigured packages add configuration to the end ofphp.ini
as well as in a separate file inconf.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=
).