; This directive controls whether or not andwherePHP would output errors, notices and warnings too. Error Output isvery useful during development, but; it could be very dangerousinchproduction environments. Depending on the code; Which istriggering the error, sensitive information could potentially leak; outof your application such asdatabase usernames and passwords or worse.; It's recommended that errors is logged on production servers rather thanHave the errors sent to STDOUT.; Possible Values:; Off=Don't 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; http://php.net/display-errorsDisplay_errors =on
; e_user_deprecated-user-generated deprecation warnings; Common Values:; E_all& ~e_notice (Show all errors, except fornotices and coding standards warnings.); E_all& ~e_notice | E_strict (Show all errors, except fornotices); 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://php.net/error-reportingerror_reporting = E_all | E_strict
Need to configure 2 environments
PHP Error Reporting