]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/php/attributes/default.rb
Scale some percentage values correctly in alerts
[chef.git] / cookbooks / php / attributes / default.rb
index d1bd6680afd0ce9ab7c848f068e88dbad314cda5..f83c1356dab310ee1284e0f2428f9948344168cd 100644 (file)
@@ -1,7 +1,6 @@
-default[:php][:version] = if node[:lsb][:release].to_f < 20.04
-                            "7.2"
-                          else
+default[:php][:version] = if node[:lsb][:release].to_f < 22.04
                             "7.4"
+                          else
+                            "8.1"
                           end
-
-override[:apache][:mpm] = "prefork"
+default[:php][:fpm][:options] = {}