switch to production values in php config

This commit is contained in:
Paul J Stevens 2023-08-13 12:02:39 +02:00
parent ee19826090
commit d3a5986f8d
1 changed files with 6 additions and 6 deletions

View File

@ -380,7 +380,7 @@ zend.enable_gc = On
; Default Value: Off
; Development Value: Off
; Production Value: On
zend.exception_ignore_args = Off
zend.exception_ignore_args = On
; Allows setting the maximum string length in an argument of a stringified stack trace
; to a value between 0 and 1000000.
@ -388,7 +388,7 @@ zend.exception_ignore_args = Off
; Default Value: 15
; Development Value: 15
; Production Value: 0
zend.exception_string_param_max_len = 15
zend.exception_string_param_max_len = 0
;;;;;;;;;;;;;;;;;
; Miscellaneous ;
@ -485,7 +485,7 @@ memory_limit = 128M
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
; https://php.net/error-reporting
error_reporting = E_ALL
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
; This directive controls whether or not and where PHP will output errors,
; notices and warnings too. Error output is very useful during development, but
@ -502,7 +502,7 @@ error_reporting = E_ALL
; Development Value: On
; Production Value: Off
; https://php.net/display-errors
display_errors = On
display_errors = Off
; The display of errors which occur during PHP's startup sequence are handled
; separately from display_errors. We strongly recommend you set this to 'off'
@ -511,7 +511,7 @@ display_errors = On
; Development Value: On
; Production Value: Off
; https://php.net/display-startup-errors
display_startup_errors = On
display_startup_errors = Off
; Besides displaying errors, PHP can also log errors to locations such as a
; server-specific log, STDERR, or a location specified by the error_log
@ -1949,4 +1949,4 @@ ldap.max_links = -1
;ffi.enable=preload
; List of headers files to preload, wildcard patterns allowed.
;ffi.preload=
;ffi.preload=