From 00609bedd054a232dbe5c8a4a183dd47b7b74d35 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Mon, 26 Mar 2018 10:57:39 +0200 Subject: [PATCH] Disable errors reporting in output --- Dockerfile | 1 + php-errors.ini | 1 + 2 files changed, 2 insertions(+) create mode 100644 php-errors.ini diff --git a/Dockerfile b/Dockerfile index 00b2801..f5b401d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,7 @@ RUN unzip -d /usr/src /tmp/dolibarr-7.0.0.zip \ ADD php-uploads.ini /usr/local/etc/php/conf.d/glenux-uploads.ini ADD php-performance.ini /usr/local/etc/php/conf.d/glenux-performance.ini +ADD php-errors.ini /usr/local/etc/php/conf.d/glenux-errors.ini RUN sed \ -i 's|/var/www/html|/var/www/html/htdocs|' \ diff --git a/php-errors.ini b/php-errors.ini new file mode 100644 index 0000000..957aae7 --- /dev/null +++ b/php-errors.ini @@ -0,0 +1 @@ +error_reporting = E_ALL & ~E_WARNING & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED