Skip to content

Commit 561eb0a

Browse files
committed
[Dockerfile] Set PHP timezone on UTC
1 parent 4f184d2 commit 561eb0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ RUN export PHP_CPPFLAGS="${PHP_CPPFLAGS} -std=c++11"; \
5454

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

7474
RUN { \
75-
echo 'date.timezone = Europe/Paris'; \
75+
echo 'date.timezone = UTC'; \
7676
echo 'short_open_tag = off'; \
7777
echo 'memory_limit = -1'; \
7878
} > /usr/local/etc/php/php-cli.ini

0 commit comments

Comments
 (0)