From 97da0be9f0d0209cadcc4967bd64562a1699f35d Mon Sep 17 00:00:00 2001 From: boyska Date: Sat, 16 Oct 2021 00:13:01 +0200 Subject: [PATCH] [docker-compose] error_log --- docker-compose.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index aa7744e..b8a5743 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -4,6 +4,11 @@ services: php: build: context: . + environment: + - 'PHP_DISPLAY_ERRORS=0' + - 'PHP_LOG_ERRORS=1' + - 'PHP_ERROR_REPORTING=E_ALL' + - 'PHP_REPORT_MEMLEAKS=1' volumes: - ./:/app/public/ ports: