简体   繁体   中英

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:

; 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 = Off

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM