From e217b93605482dedaa3ebfc71b8c25e887ed065f Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Mon, 22 Feb 2016 18:34:00 +0100
Subject: [PATCH] Make apache, fastcgi and jailkit work together

---
 tasks/apache.yml | 21 +++------------------
 1 file changed, 3 insertions(+), 18 deletions(-)

diff --git a/tasks/apache.yml b/tasks/apache.yml
index e81f964..a98810e 100644
--- a/tasks/apache.yml
+++ b/tasks/apache.yml
@@ -9,9 +9,9 @@
     - apache2
     - apache2-utils
     - apache2-mpm-event
-    - apache2-suexec
-    - libapache2-mod-fastcgi
-    - php5-fpm
+    - apache2-mpm-worker
+    - apache2-suexec-custom
+    - libapache2-mod-fcgid
   notify: "Apache | Restart Apache"
 
 - name: "Apache | Enable some required modules"
@@ -23,10 +23,8 @@
     - vhost_alias
     - ssl
     - actions
-    - fastcgi
     - alias
     - suexec
-  ignore_errors: yes
   notify: "Apache | Restart Apache"
 
 - name: "Apache | Disable modules"
@@ -37,19 +35,6 @@
     - php5
   notify: "Apache | Restart Apache"
 
-- name: "Apache | Configuration of PHP-FPM"
-  template:
-    src=etc-apache2-conf-available-php5-fpm
-    dest=/etc/apache2/conf-available/php5-fpm{{ apache_conf_ext }}
-    owner=root
-    group=root
-    mode=0644
-  notify:
-    - "Apache | Restart Apache"
-
-- name: "Apache | Enable PHP-FPM configuration"
-  command: a2enconf php5-fpm
-
 - name: "Apache | Turn on Extended Status"
   lineinfile:
     dest=/etc/apache2/apache2.conf
-- 
GitLab