加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

PHP5.3.0的Pear错误消息

发布时间:2020-12-13 21:36:11 所属栏目:PHP教程 来源:网络整理
导读:当我在WAMP服务器上打开新安装的PEAR包时,我收到很多错误. 这是错误消息. 我能做什么? Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARConfig.php on line 650Deprecated: Assigning the return valu
当我在WAMP服务器上打开新安装的PEAR包时,我收到很多错误.
这是错误消息.

我能做什么?

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARConfig.php on line 650

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARConfig.php on line 697

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARConfig.php on line 757

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARConfig.php on line 786

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARConfig.php on line 914

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARConfig.php on line 1577

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARConfig.php on line 1607

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARConfig.php on line 2038

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARConfig.php on line 2091

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARRegistry.php on line 322

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARRegistry.php on line 1450

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARRegistry.php on line 1458

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARFrontend.php on line 91

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARCommand.php on line 137

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARCommand.php on line 154

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:wampwwwPEARPEARConfig.php on line 1026

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:wampwwwPEARPEARConfig.php on line 1033

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:wampwwwPEARPEARDependencyDB.php on line 554

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:wampwwwPEARPEARDependencyDB.php on line 558

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:wampwwwPEARPEARRegistry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:wampwwwPEARPEARRegistry.php on line 1183

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARChannelFile.php on line 199

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARChannelFile.php on line 1504

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARChannelFile.php on line 1516

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARChannelFile.php on line 1524

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARChannelFile.php on line 1527

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARCommon.php on line 492

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARCommon.php on line 511

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARCommon.php on line 530

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARCommon.php on line 574

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARCommon.php on line 607

Deprecated: Assigning the return value of new by reference is deprecated in C:wampwwwPEARPEARCommon.php on line 629

解决方法

“不推荐使用”意味着功能或功能不再被认为是一个好主意,将在未来的PHP版本中删除.由于这些是关于您正在使用的库的警告,除了确保您的PEAR版本和软件包是最新的之外,您不需要做任何事情.您需要更新您使用的库以使这些警告消失.

在PHP的未来版本中,警告中列出的功能将消失.如果您的库尚未更新,则会出现致命错误.在进行另一次大型PHP升级之前,请确保没有弃用警告,或者根据PHP升级文档检查它们,看看是否会受到影响.

如果您在浏览器中收到这些错误,请调整错误报告设置.一种方法:

error_reporting(E_ALL & ~E_DEPRECATED);

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读