Configurer php pour le dev

This commit is contained in:
2016-07-07 11:08:04 +02:00
parent bfeb0a1333
commit 07c6243bf9

View File

@@ -442,7 +442,7 @@ memory_limit = 128M
; Development Value: E_ALL ; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
; http://php.net/error-reporting ; http://php.net/error-reporting
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT error_reporting = E_ALL & ~E_DEPRECATED
; This directive controls whether or not and where PHP will output errors, ; This directive controls whether or not and where PHP will output errors,
; notices and warnings too. Error output is very useful during development, but ; notices and warnings too. Error output is very useful during development, but
@@ -459,7 +459,7 @@ error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
; Development Value: On ; Development Value: On
; Production Value: Off ; Production Value: Off
; http://php.net/display-errors ; http://php.net/display-errors
display_errors = Off display_errors = On
; The display of errors which occur during PHP's startup sequence are handled ; The display of errors which occur during PHP's startup sequence are handled
; separately from display_errors. PHP's default behavior is to suppress those ; separately from display_errors. PHP's default behavior is to suppress those
@@ -514,7 +514,7 @@ report_memleaks = On
; Development Value: On ; Development Value: On
; Production Value: Off ; Production Value: Off
; http://php.net/track-errors ; http://php.net/track-errors
track_errors = Off track_errors = On
; Turn off normal error reporting and emit XML-RPC error XML ; Turn off normal error reporting and emit XML-RPC error XML
; http://php.net/xmlrpc-errors ; http://php.net/xmlrpc-errors