From 11922074a42b69d918da3a491b68d9d51a9b0c54 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 23 Apr 2025 20:47:41 +0800 Subject: [PATCH] add error.logLevel --- extra/config/php.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extra/config/php.ini b/extra/config/php.ini index bbbbabf..20ad2c2 100644 --- a/extra/config/php.ini +++ b/extra/config/php.ini @@ -446,7 +446,8 @@ memory_limit = -1 ; Development Value: E_ALL ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT ; http://php.net/error-reporting -error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT +;error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT +error_reporting = E_ERROR | E_PARSE ; This directive controls whether or not and where PHP will output errors, ; notices and warnings too. Error output is very useful during development, but