what are the best practises for hiding all php errors? As I don't want ERRORS to show to the user.
I've tried using the .htacess
by putting the code php_flag display_errors off
in there, but it returns me a 500 error
.
Are there any other methods that will hide all errors?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…