dpql57753 2014-07-10 14:34
浏览 41
已采纳

Wamp Server 2.4避免显示PHP 5.4通知[关闭]

I have the following setting at my php.ini located at D:\wamp\bin\apache\Apache2.4.4\bin:

error_reporting = E_ALL

I now have changed it to

error_reporting = E_ALL | E_STRICT

Then I restarted all services of Wamp.

It doesn't still show the the notices that the production server show.

At both states, in phpinfo() I can see error_reporting set to 32767.

  • 写回答

1条回答 默认 最新

  • duanrong6802 2014-07-10 16:54
    关注

    I think there was a little bug that escaped in WampServer2.4 and that was that the php.ini file had the error_log parameter commented out.

    So edit php.ini ( using the wampmanager -> PHP -> php.ini )

    Look for

    ;error_log = "c:/wamp/logs/php_error.log"
    

    and change it to

    error_log = "c:/wamp/logs/php_error.log"
    

    Assuming you are installed on the C: drive

    Also check

    log_errors = On
    

    just to be sure.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器