Skip to content

Commit

Permalink
Add php.ini defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Mar 13, 2022
1 parent 7fb8567 commit a7a8f37
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
13 changes: 13 additions & 0 deletions data/php.ini
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a7a8f37

Please sign in to comment.