0

I've installed php 7 on my debian local machine with apache2, when there is an error on a php file it doesn't show up, for example if I echo a variable that I don't declare :

<?php echo $x; ?>

will output nothing (no error)

my php.ini errors lines looks like this :

; display_errors
;   Default Value: On
;   Development Value: On
;   Production Value: Off

; display_startup_errors
;   Default Value: Off
;   Development Value: On
;   Production Value: Off

; error_reporting
;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
;   Development Value: E_ALL
;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT

; html_errors
;   Default Value: On
;   Development Value: On
;   Production value: On

; log_errors
;   Default Value: Off
;   Development Value: On
;   Production Value: On
medBouzid
  • 7,484
  • 10
  • 56
  • 86

0 Answers0