I am not sure why I can't find information about this on the internet but php prints notices and warnings on the web page, which is unacceptable. I know that I can turn it off programmatically on each page, but how do I set a config to just send these errors to my error log? I've been googling like crazy and can't figure it out.
Stuff like this:
<b>Notice</b>: Use of undefined constant LOG_ERROR - assumed 'LOG_ERROR' in on line <b>12</b><br /> <br /> <b>Warning</b>: syslog() expects parameter 1 to be long, string given in