0
点赞
收藏
分享

微信扫一扫

php错误日志文件

千白莫 2023-01-13 阅读 91


修改php.ini 增加 error_log=php_errors.log

; Besides displaying errors, PHP can also log errors to locations such as a
; server-specific log, STDERR, or a location specified by the error_log
; directive found below. While errors should not be displayed on productions
; servers they should still be monitored and logging is a great way to do that.
; Default Value: Off
; Development Value: On
; Production Value: On
; http://php.net/log-errors
log_errors=on
error_log=php_errors.log

 

举报

相关推荐

0 条评论