summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2017-09-20 17:00:53 +0200
committerJulien Dessaux2017-09-21 16:21:41 +0200
commitd6a0ac300e4e1a5247829e844ac5e36af363da6c (patch)
tree7a721b85484d850910ef70b07c689aa48f65d261
parentFixed php56 report messages (diff)
downloadmasterfiles-d6a0ac300e4e1a5247829e844ac5e36af363da6c.tar.gz
masterfiles-d6a0ac300e4e1a5247829e844ac5e36af363da6c.tar.bz2
masterfiles-d6a0ac300e4e1a5247829e844ac5e36af363da6c.zip
Added defautl fpm timezone
-rw-r--r--services/applications/php56.cf3
1 files changed, 3 insertions, 0 deletions
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",