From 769f1da8a58524025ce2f277a6e8b305dda7339c Mon Sep 17 00:00:00 2001 From: Glenn Date: Tue, 6 Aug 2024 18:52:21 +0200 Subject: [PATCH] hotfix(1/n): enable error logging --- php-errors.ini | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/php-errors.ini b/php-errors.ini index fc02f22..db533d5 100644 --- a/php-errors.ini +++ b/php-errors.ini @@ -1,6 +1,11 @@ error_reporting = E_ALL & ~E_WARNING & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED -display_errors = Off - log_errors = On -error_log = /dev/stderr + +## For production +# display_errors = Off +# error_log = /dev/stderr + +## For debugging +display_errors = On +error_log = /var/log/php-errors.log