php.ini错误\u报告建议的生产值是否会显示通知?
在服务器上仍然安装了PHP5.3.3。php.ini包含以下内容:php.ini错误\u报告建议的生产值是否会显示通知?,php,configuration,server,Php,Configuration,Server,在服务器上仍然安装了PHP5.3.3。php.ini包含以下内容: ; 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_COMPILE_ERROR|E_RECOV
; 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_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
; 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
; http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
error_reporting = E_ALL & ~E_DEPRECATED
我想知道,推荐用于生产环境的当前配置E_ALL&~E_DEPRECATED
是否会显示通知?我想我会的,但我认为制作系统显示通知是没有意义的
我遗漏了什么?我想你可能想知道为什么所有的错误都会报告给每个人。但这不仅仅取决于错误报告。缺少的是检查php.ini中display_errors的值