[英]XAMPP turn off Strict Standards errors
I am trying to disable Strict Standards from showing up on my screen. 我试图禁止严格标准显示在屏幕上。
I took a look at my php.ini files and see these lines: 我看了看我的php.ini文件,看到以下几行:
; error_reporting
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
What do these lines mean and how do I disable the Strict Standards error from showing up? 这些行是什么意思,如何禁止显示“严格标准”错误?
I also see this line 我也看到这条线
error_reporting = E_ALL | E_STRICT
I'd change this line 我会改变这条线
error_reporting = E_ALL | E_STRICT
to the production Production Value 生产价值
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
You can also change the display_errors settings which will allow you to log errors, but not display them 您还可以更改display_errors设置,该设置将允许您记录错误,但不显示错误
display_errors = Off
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.