PEAR错误出现在单独的弹出窗口中


PEAR errors in a separate popup window

我正在使用一些遗留代码&已升级到带有php 5.5的Apache 2.4服务器。当一些遗留代码运行时,会弹出一个单独的窗口,其中包含PEAR错误列表:

[2014-11-09 18:04:44](0x800) in C:'php'pear'DB'DataObject.php on line 4672
Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context
[2014-11-09 18:04:44](0x800) in C:'php'pear'DB'DataObject.php on line 2455
Non-static method DB::connect() should not be called statically, assuming $this from incompatible context
[2014-11-09 18:04:44](0x800) in C:'php'pear'DB'mysql.php on line 48
Declaration of DB_mysql::quote() should be compatible with DB_common::quote($string = NULL)

你怎么关掉它?

我的php.ini设置是:

error_reporting=E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT

但我认为PEAR有它自己的错误水平。我就是好像找不到它们。有什么想法吗?

有一个函数errorConf()显然正在被调用。这是

function errorConf() {
    require_once 'common/ErrorHandler.inc'; 
    return new ErrorHandler();
}

并弹出此弹出窗口:window.open(","ErrorHandlerConsole","…");

我只是简单地将函数设为空白函数errorConf(){},但如果有时间的话,可能会寻求更负责任的处理。

感谢所有花时间阅读这一切的人。