Un htaccess pour voir toutes les erreurs php

On a souvent besoin d’un htaccess qui nous montre toutes les erreurs d’exécution. Voici comment l’écrire :

Placer ce script dans /path/to/your/project/.htaccess

php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag log_errors on
php_flag ignore_repeated_errors off
php_flag ignore_repeated_source off
php_flag report_memleaks on
php_flag track_errors on
php_value docref_root 0
php_value docref_ext 0
php_value error_log /path/to/your/project/PHP_errors.log
# [see footnote 3] # php_value error_reporting 999999999
php_value error_reporting -1
php_value log_errors_max_len 0

 Order allow,deny
 Deny from all
 Satisfy All