leader 2021年02月16日 编程语言 410 0
; This directive controls whether or not and where PHP will output errors, 
; notices and warnings too. Error output is very useful during development, but 
; it could be very dangerous in production environments. Depending on the code 
; which is triggering the error, sensitive information could potentially leak 
; out of your application such as database usernames and passwords or worse. 
; It's recommended that errors be logged on production servers rather than 
; having the errors sent to STDOUT. 
; Possible Values: 
;   Off = Do not display any errors 
;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!) 
;   On or stdout = Display errors to STDOUT 
; Default Value: On 
; Development Value: On 
; Production Value: Off 
display_errors =On
; E_USER_DEPRECATED - user-generated deprecation warnings 
; Common Values: 
;   E_ALL & ~E_NOTICE  (Show all errors, except for notices and coding standards warnings.) 
;   E_ALL & ~E_NOTICE | E_STRICT  (Show all errors, except for notices) 
;   E_ALL | E_STRICT  (Show all errors, warnings and notices including coding standards.) 
; Default Value: E_ALL & ~E_NOTICE 
; Development Value: E_ALL | E_STRICT 
; Production Value: E_ALL & ~E_DEPRECATED 
error_reporting = E_ALL | E_STRICT



微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!