Reputation: 6058
I've installed developer's LAMP server and made changes on php.ini
display_errors On
display_startup_errors On
but it doesn't display any errors or even a little warning, what's the problem, what's wrong?
Upvotes: 3
Views: 4766
Reputation: 49
I had the same problem:
display_errors=Off
to display_errors=On
in /opt/lampp/etc/php.ini
filesudo /opt/lampp/lampp/restart
Upvotes: 0
Reputation: 114
change the following variables in your php.ini
; display_errors
; Default Value: On
; Development Value: On
; Production Value: Off
; display_startup_errors
; Default Value: On
; Development Value: On
; Production Value: Off
; error_reporting
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED
; html_errors
; Default Value: On
; Development Value: On
; Production value: Off
; log_errors
; Default Value: On
; Development Value: On
; Production Value: On
Upvotes: 0
Reputation: 34105
Keep in mind that most systems have two php.ini files, one for the webserver and one for the command line. Do a phpinfo()
to see which one you need to edit.
Upvotes: 3