summaryrefslogtreecommitdiff
path: root/php.ini-production
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-09-02 10:13:54 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-09-06 14:33:03 +0200
commit790ed7d540aa04d22b1fc72a1f17e57ed6ef94e7 (patch)
treefef2d80925105757cbdb441d9c39b90e2986eefa /php.ini-production
parente530a89c0065c443bb8f9047e63d5f2dcfed8606 (diff)
downloadphp-git-790ed7d540aa04d22b1fc72a1f17e57ed6ef94e7.tar.gz
Enable display_startup_errors by default
Diffstat (limited to 'php.ini-production')
-rw-r--r--php.ini-production10
1 files changed, 4 insertions, 6 deletions
diff --git a/php.ini-production b/php.ini-production
index e2eaa7514c..3fb7d9201f 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -99,7 +99,7 @@
; Production Value: Off
; display_startup_errors
-; Default Value: Off
+; Default Value: On
; Development Value: On
; Production Value: Off
@@ -475,11 +475,9 @@ error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off
; 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
-; errors from clients. Turning the display of startup errors on can be useful in
-; debugging configuration problems. We strongly recommend you
-; set this to 'off' for production servers.
-; Default Value: Off
+; separately from display_errors. We strongly recommend you set this to 'off'
+; for production servers to avoid leaking configuration details.
+; Default Value: On
; Development Value: On
; Production Value: Off
; http://php.net/display-startup-errors