7.26 Gestion des erreurs
7 Index des fonctions
Manuel PHP
. Introduction . Pré-requis . Installation ->Configuration à l'exécution . Constantes prédefinies . Exemples . Voir aussi . debug_backtrace . debug_print_backtrace . error_log . error_reporting . restore_error_handler . set_error_handler . trigger_error . user_error
|
7.26.4 Configuration à l'exécution
Le comportement de ces fonctions est affecté par la configuration dans le fichier
php.ini
.
Nom |
Par défaut |
Modifiable |
error_reporting |
E_ALL & ~E_NOTICE |
PHP_INI_ALL |
display_errors |
"1" |
PHP_INI_ALL |
display_startup_errors |
"0" |
PHP_INI_ALL |
log_errors |
"0" |
PHP_INI_ALL |
log_errors_max_len |
"1024" |
PHP_INI_ALL |
ignore_repeated_errors |
"0" |
PHP_INI_ALL |
ignore_repeated_source |
"0" |
PHP_INI_ALL |
report_memleaks |
"1" |
PHP_INI_SYSTEM |
track_errors |
"0" |
PHP_INI_ALL |
html_errors |
"1" |
PHP_INI_ALL |
docref_root |
"http://www.php.net/" |
PHP_INI_ALL |
docref_ext |
".php" |
PHP_INI_ALL |
error_prepend_string |
NULL |
PHP_INI_ALL |
error_append_string |
NULL |
PHP_INI_ALL |
error_log |
NULL |
PHP_INI_ALL |
warn_plus_overloading |
NULL |
PHP_INI?? |
Pour plus de détails sur les constantes PHP_INI_*, reportez-vous à
ini_set
.
Voici un éclaircissement sur l'utilisation des directives de configuration.
|