# 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