Skip to content

Turn off PHP error messages?

Turn off PHP error messages?

Answer:

In a production server, you should always turn off PHP error messages to be displayed for public, to do so, edit the php.ini

E.g.

vi /etc/php.ini

And turn off display_errors

display_errors = Off

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  1. Turn on all error reporting in PHP
  2. Display hardware and boot messages
  3. How to redirect error message to a file
  4. Turn off PC speaker in Ubuntu Linux
  5. Turn off ETag in Apache

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*