How to display / hide Errors in PHP with htaccess

You can turn on or off the PHP errors and warnings using the htaccess file

Display the PHP errors when developing and hide them when live ๐Ÿ˜‰

php_flag display_errors off

About Rick

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

Leave a Reply

Add <code> Some Code </code> by using this tags.