]> git.openstreetmap.org Git - chef.git/commitdiff
Make sure mod_php is disabled when we're using FPM
authorTom Hughes <tom@compton.nu>
Tue, 14 Jul 2020 08:08:40 +0000 (09:08 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 14 Jul 2020 08:09:05 +0000 (09:09 +0100)
cookbooks/php/recipes/apache.rb

index ead6a5f738df6aa066cf80b6f49c99d90d3d69ac..dc60248ba189df86e46e9a7d0a2b30a2c191a00a 100644 (file)
@@ -23,6 +23,10 @@ include_recipe "php::fpm"
 apache_module "proxy"
 apache_module "proxy_fcgi"
 
+apache_module "php#{node[:php][:version]}" do
+  action :disable
+end
+
 apache_conf "php#{node[:php][:version]}-fpm" do
   action :enable
 end