X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/60b19818712842f23e5039de2202f7ee45dbb614..116603252e113ecfd4073cee6a85127d02fc2282:/cookbooks/php/attributes/default.rb?ds=sidebyside
diff --git a/cookbooks/php/attributes/default.rb b/cookbooks/php/attributes/default.rb
index ecc9c7c66..5dd05a52b 100644
--- a/cookbooks/php/attributes/default.rb
+++ b/cookbooks/php/attributes/default.rb
@@ -1 +1,8 @@
-default[:php][:version] = "7.2"
+default[:php][:version] = if platform?("debian")
+                            "8.2"
+                          elsif node[:lsb][:release].to_f < 22.04
+                            "7.4"
+                          else
+                            "8.1"
+                          end
+default[:php][:fpm][:options] = {}