duanlu0075 2012-09-13 11:08
浏览 76

什么可能导致php.ini忽略error_reporting指令?

So when I set this directive in php.ini

error_reporting = E_ALL & ~E_DEPRECATED

I still get these errors even after apache reload or reboot.

Thu Sep 13 10:51:10 2012] [error] [client 173.59.22.4] PHP Deprecated: Assigning the return value of new by reference is deprecated in

etc etc etc.

Any ideas? I am not sure why php.ini will not listen to this directive to not list deprecated.

PHP 5.3.3 (cli) (built: Jul 3 2012 16:53:21) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

  • 写回答

4条回答 默认 最新

  • doujing6053 2012-09-13 11:10
    关注

    There are several places from which the value of this setting can be changed, including the quite commonly seen ini_set and error_reporting functions. Someone is changing it from one of them.

    评论

报告相同问题?

悬赏问题

  • ¥15 Python turtle 画图
  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计