1

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
user2551750
  • 17
  • 1
  • 7
  • please see http://stackoverflow.com/questions/1248952/php-5-disable-strict-standards-error –  Jul 05 '13 at 17:43

1 Answers1

3

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
mhanson01
  • 711
  • 6
  • 4