Skip to content

Commit

Permalink
[Dockerfile] Set PHP timezone on UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiot committed Mar 29, 2019
1 parent 4f184d2 commit 561eb0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ RUN export PHP_CPPFLAGS="${PHP_CPPFLAGS} -std=c++11"; \

## set recommended PHP.ini settings
RUN { \
echo 'date.timezone = Europe/Paris'; \
echo 'date.timezone = UTC'; \
echo 'short_open_tag = off'; \
echo 'expose_php = off'; \
echo 'error_log = /proc/self/fd/2'; \
Expand All @@ -72,7 +72,7 @@ RUN { \
} > /usr/local/etc/php/php.ini

RUN { \
echo 'date.timezone = Europe/Paris'; \
echo 'date.timezone = UTC'; \
echo 'short_open_tag = off'; \
echo 'memory_limit = -1'; \
} > /usr/local/etc/php/php-cli.ini
Expand Down

0 comments on commit 561eb0a

Please sign in to comment.