X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9430f8a86c3e8e4b34a1f20f8c9cf00db5a1d7ec..7c583c9d2fcb1a0ba3132c8c456d93cfd31598b2:/cookbooks/php/recipes/apache.rb?ds=sidebyside diff --git a/cookbooks/php/recipes/apache.rb b/cookbooks/php/recipes/apache.rb index 7add78383..dc60248ba 100644 --- a/cookbooks/php/recipes/apache.rb +++ b/cookbooks/php/recipes/apache.rb @@ -17,7 +17,16 @@ # limitations under the License. # -include_recipe "php" include_recipe "apache" +include_recipe "php::fpm" -apache_module "php#{node[:php][:version]}" +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