Skip to content
Snippets Groups Projects
Commit f15d0ba5 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[FEATURE] Support PHP 7.2 (not set as default)

parent 8be5166a
No related branches found
No related tags found
No related merge requests found
......@@ -83,9 +83,18 @@ if node['platform_version'] == '16.04'
end
end
else
%w(php php-cli php-curl php-intl php-gd php-mcrypt php-mysql php-xml php-json php-mbstring php-soap php-zip php-imagick).each do |name|
package name do
action :install
if node['ubuntu_base']['php_version'] == '7.1'
%w(php7.1 php7.1-cli php7.1-curl php7.1-intl php7.1-gd php7.1-mcrypt php7.1-mysql php7.1-xml php7.1-json php7.1-mbstring php7.1-soap php7.1-zip php7.1-imagick).each do |name|
package name do
action :install
end
end
else
# no mcrypt anymore
%w(php php-cli php-curl php-intl php-gd php-mysql php-xml php-json php-mbstring php-soap php-zip php-imagick).each do |name|
package name do
action :install
end
end
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment