I've installed developer's LAMP server and made changes on php.ini
di开发者_开发知识库splay_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?
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.
Did you restart apache?
Also set error_reporting to E_ALL
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
精彩评论