From 790ed7d540aa04d22b1fc72a1f17e57ed6ef94e7 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 2 Sep 2019 10:13:54 +0200 Subject: Enable display_startup_errors by default --- php.ini-development | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'php.ini-development') diff --git a/php.ini-development b/php.ini-development index 8ed25d8c82..88b7a0b661 100644 --- a/php.ini-development +++ b/php.ini-development @@ -99,7 +99,7 @@ ; Production Value: Off ; display_startup_errors -; Default Value: Off +; Default Value: On ; Development Value: On ; Production Value: Off @@ -473,11 +473,9 @@ error_reporting = E_ALL display_errors = On ; 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 -- cgit v1.2.1