]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/php/recipes/apache.rb
Merge remote-tracking branch 'github/pull/527'
[chef.git] / cookbooks / php / recipes / apache.rb
index 7add783839f734761327fbff81e4feba11e8cb31..dc60248ba189df86e46e9a7d0a2b30a2c191a00a 100644 (file)
 # 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