PHP won't display errors..
error_reporting = E_ALL & ~E_NOTICE ; Show all errors except for noticesdisplay_errors = Off ; Print out errors (as a part of the output)
display_startup_errors = Off ; Even when display_errors is on, errors that occur during
log_errors = On ;
track_errors = Off ; Store the last error/warning message in $php_errormsg (boolean)
error_log = /var/log/php_error.log ;
warn_plus_overloading = Off ; warn if the + operator is used with strings
Ok, I don't want errors displayed on the web page, but I want a complete log of errors so I can fix them and find them easily.
How come the above does not work?
/var/log/php_error.log exists and is blank, it doesn't get written to,. I purposely created a php script with errors and ran it several times, nothing was displayed on the page, whihc is good, but nothing was written to the log either.
How do I fix this?
Thanks.