-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] = {}