X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/60b19818712842f23e5039de2202f7ee45dbb614..9430f8a86c3e8e4b34a1f20f8c9cf00db5a1d7ec:/cookbooks/php/attributes/default.rb diff --git a/cookbooks/php/attributes/default.rb b/cookbooks/php/attributes/default.rb index ecc9c7c66..d1bd6680a 100644 --- a/cookbooks/php/attributes/default.rb +++ b/cookbooks/php/attributes/default.rb @@ -1 +1,7 @@ -default[:php][:version] = "7.2" +default[:php][:version] = if node[:lsb][:release].to_f < 20.04 + "7.2" + else + "7.4" + end + +override[:apache][:mpm] = "prefork"