Posted By

eliphas on 06/11/13


Tagged

#error #htaccess #php


Versions (?)

error log .htaccess


 / Published in: PHP
 

Using .htaccess to manager error handling

  1. # hide php errors
  2. php_flag display_startup_errors ON
  3. php_flag display_errors ON
  4. php_flag html_errors ON
  5. php_flag log_errors on
  6. php_flag ignore_repeated_errors off
  7. php_flag ignore_repeated_source off
  8. php_flag report_memleaks on
  9. php_flag track_errors on
  10. php_value docref_root 0
  11. php_value docref_ext 0
  12. php_value error_log /home/path/public_html/domain/PHP_errors.log
  13. php_value error_reporting 999999999
  14. php_value error_reporting -1
  15. php_value log_errors_max_len 0
  16. Order allow,deny
  17. Deny from all
  18. Satisfy All

Report this snippet  

You need to login to post a comment.