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?

在PHP中禁用通过ini_set()的日志记录?
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- duanmie9741 2014-05-12 13:35关注
Use the following code:
ini_set("log_errors", 0);
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报