duanqiongniu1469 2014-05-12 13:31 采纳率: 100%
浏览 89
已采纳

在PHP中禁用通过ini_set()的日志记录?

I would like to disable logging (access_log and error_log) on my server. Is this possible through the function ini_set()? If it is, how do you do it?

  • 写回答

1条回答 默认 最新

  • duanmie9741 2014-05-12 13:35
    关注

    Use the following code:

    ini_set("log_errors", 0);
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?