I've read a few questions about this issue, but none of the answers were accepted so I'm unsure which answer to apply. I need to be able to log all errors in a log file which can't be read from the outside and prevent errors from being diplayed in the browser.
The language I'm working with is PHP. Maybe showing a 500 Internal Server Error in place of those errors would have been more appropriate.
Thank you.