From f55c80c586ce03dcff307bd37d5422cabf2161a3 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 18 May 2020 15:22:36 +0100 Subject: [PATCH] Use PHP 7.4 on Ubuntu 20.04 --- cookbooks/php/attributes/default.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cookbooks/php/attributes/default.rb b/cookbooks/php/attributes/default.rb index ecc9c7c66..0ca636813 100644 --- a/cookbooks/php/attributes/default.rb +++ b/cookbooks/php/attributes/default.rb @@ -1 +1,5 @@ -default[:php][:version] = "7.2" +default[:php][:version] = if node[:lsb][:release].to_f < 20.04 + "7.2" + else + "7.4" + end -- 2.43.2