I thought I remember reading somewhere that error reporting should be disabled on a live website. I can’t find any info on that now, so I think it may be fine, but I would like to check if it is a concern at all?
Here is what I have enabled as options for MySQL queries:
I think the idea is that displaying error messages to the user is not good - errors should be trapped and either dealt with, or fail gracefully with a general error page.
I’m sure I’ve read that providing too much error information could give a potential cracker additional information, but that kind of thing isn’t something I know much about.
I’m going to assume based on your question that the production site is on a shared hosting service. Shared hosts automatically disable error reporting to the browser.