diff --git a/defaults/main.yml b/defaults/main.yml index 86ffecf8bd77108edcb49fceefe7cb4bc5fbdfb6..e9ce644142a6375e1269f9a3a0e9237b5c845c28 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -76,3 +76,4 @@ phpinidefault: post_max_size: 64M upload_max_filesize: 64M memory_limit: 128M + date_timezone: UTC diff --git a/templates/php-fpm/php.ini.j2 b/templates/php-fpm/php.ini.j2 index 7a2c89c68df1ab651b491e5c0a450d70ebd0fe8e..9430046dd1e55181c0cc4fafc3a90a51312c5ef2 100644 --- a/templates/php-fpm/php.ini.j2 +++ b/templates/php-fpm/php.ini.j2 @@ -925,7 +925,7 @@ cli_server.color = On [Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone -date.timezone = "UTC" +date.timezone = "{{ phpini.date_timezone }}" ; http://php.net/date.default-latitude ;date.default_latitude = 31.7667