From: Tom Hughes Date: Tue, 20 Jun 2023 17:42:11 +0000 (+0000) Subject: Use PHP 8.2 on Debian X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/beba7c025301ae190346f9fb986caf840265c643 Use PHP 8.2 on Debian --- diff --git a/cookbooks/php/attributes/default.rb b/cookbooks/php/attributes/default.rb index f83c1356d..c96f61188 100644 --- a/cookbooks/php/attributes/default.rb +++ b/cookbooks/php/attributes/default.rb @@ -1,4 +1,6 @@ -default[:php][:version] = if node[:lsb][:release].to_f < 22.04 +default[:php][:version] = if platform?("debian") + "8.2" + elsif qnode[:lsb][:release].to_f < 22.04 "7.4" else "8.1"