From 0c31d26ad78106dc81b979e56da31c51e515105a Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Mon, 29 Aug 2022 14:07:57 +0200 Subject: [PATCH] update php defaults --- docker/templates/extra-php-config.ini | 3 +++ .../20_Templates.md" | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/docker/templates/extra-php-config.ini b/docker/templates/extra-php-config.ini index d7ed8ae..d3f5327 100644 --- a/docker/templates/extra-php-config.ini +++ b/docker/templates/extra-php-config.ini @@ -4,6 +4,9 @@ ; [PHP] +error_reporting=E_ALL +display_errors=1 + ; ---------------------------------------------------------------------- ; XDEBUG STUFF BELOW ; ---------------------------------------------------------------------- diff --git "a/docs/30_\342\232\231\357\270\217_Configuration/20_Templates.md" "b/docs/30_\342\232\231\357\270\217_Configuration/20_Templates.md" index 366ba29..1e1870f 100644 --- "a/docs/30_\342\232\231\357\270\217_Configuration/20_Templates.md" +++ "b/docs/30_\342\232\231\357\270\217_Configuration/20_Templates.md" @@ -190,6 +190,7 @@ Setup modules and the vhost including rewrites , ... ## ✴️ extra-php-config.ini Custom PHP config file for you additional settings. +Showing all warnings and errors is enabled as default. ✴️ You **SHOULD** change this to setup Mysql database service for your needs. @@ -200,6 +201,9 @@ Custom PHP config file for you additional settings. ; [PHP] +error_reporting=E_ALL +display_errors=1 + ; ---------------------------------------------------------------------- ; XDEBUG STUFF BELOW ; ---------------------------------------------------------------------- -- GitLab