]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/donate/recipes/default.rb
Use PHP 7.2 for the donation site
[chef.git] / cookbooks / donate / recipes / default.rb
index 89eb26d57462d16fcd03b74deed59d22b8df5621..b84b198c9a2f49bd01feaf36a3ecbb13a799e621 100644 (file)
@@ -8,7 +8,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#     http://www.apache.org/licenses/LICENSE-2.0
+#     https://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
@@ -21,13 +21,15 @@ include_recipe "apache"
 include_recipe "mysql"
 include_recipe "git"
 
-package "php"
-package "php-cli"
-package "php-curl"
-package "php-mysql"
-package "php-gd"
+package %w[
+  php
+  php-cli
+  php-curl
+  php-mysql
+  php-gd
+]
 
-apache_module "php7.0"
+apache_module "php7.2"
 
 apache_module "headers"