應該很多人知道這東西, 不過我是真的今天才知道有這個玩意. :p
php.ini-dist裡面的相關說明:
; Log errors into a log file (server-specific log, stderr, or error_log (below))
; As stated above, you're strongly advised to use error logging in place of
; error displaying on production web sites.
log_errors = Off
....
; Log errors to specified file.
;error_log = filename
簡單講, 就是可以把 php 的 error message, 也存一份到檔案 :p
php.ini-dist裡面的相關說明:
; Log errors into a log file (server-specific log, stderr, or error_log (below))
; As stated above, you're strongly advised to use error logging in place of
; error displaying on production web sites.
log_errors = Off
....
; Log errors to specified file.
;error_log = filename
簡單講, 就是可以把 php 的 error message, 也存一份到檔案 :p
全站熱搜
留言列表