diff --git a/Dockerfile b/Dockerfile index 44753bd..b997db4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -233,6 +233,7 @@ RUN docker-php-ext-enable sodium ENTRYPOINT ["docker-php-entrypoint"] WORKDIR /var/www/html +COPY data/php.ini /usr/local/etc/php/php.ini RUN set -eux; \ cd /usr/local/etc; \ diff --git a/data/php.ini b/data/php.ini new file mode 100644 index 0000000..fa1dff6 --- /dev/null +++ b/data/php.ini @@ -0,0 +1,13 @@ +;xmlrpc_errors = on +;html_errors = on +;track_errors = on +display_errors = on +;display_startup_errors = on +;error_reporting = E_ALL | E_STRICT +error_reporting = E_ALL +log_errors = on +error_log = /usr/local/logs/php.log +date.timezone = UTC +variables_order = "EGPCS" +cgi.fix_pathinfo= 0 +fastcgi.logging = 1