From d6a0ac300e4e1a5247829e844ac5e36af363da6c Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 20 Sep 2017 17:00:53 +0200 Subject: Added defautl fpm timezone --- services/applications/php56.cf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'services/applications') diff --git a/services/applications/php56.cf b/services/applications/php56.cf index 75d4820..d16870c 100644 --- a/services/applications/php56.cf +++ b/services/applications/php56.cf @@ -6,6 +6,9 @@ bundle agent php56 "freebsd" usebundle => add_rc_conf_line("$(this.bundle)", "php_fpm_enable=\"YES\""); files: freebsd:: + "/usr/local/etc/php.ini-production" + edit_line => regex_replace(";date.timezone.*", "date.timezone = Europe/Paris"), + classes => if_repaired("php56_php_ini_file_repaired"); "/usr/local/etc/php.ini" link_from => ln_s("/usr/local/etc/php.ini-production"), move_obstructions => "true", -- cgit v1.2.3