X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9430f8a86c3e8e4b34a1f20f8c9cf00db5a1d7ec..bf640328133e47a7c686b60cf73f63b3cd606b29:/cookbooks/php/attributes/default.rb diff --git a/cookbooks/php/attributes/default.rb b/cookbooks/php/attributes/default.rb index d1bd6680a..5dd05a52b 100644 --- a/cookbooks/php/attributes/default.rb +++ b/cookbooks/php/attributes/default.rb @@ -1,7 +1,8 @@ -default[:php][:version] = if node[:lsb][:release].to_f < 20.04 - "7.2" - else +default[:php][:version] = if platform?("debian") + "8.2" + elsif node[:lsb][:release].to_f < 22.04 "7.4" + else + "8.1" end - -override[:apache][:mpm] = "prefork" +default[:php][:fpm][:options] = {}