diff --git a/tasks/apache.yml b/tasks/apache.yml index e81f9648a07a9e89424400f87da363477fd6486c..a98810e554d9ee6eb7f6841aa8eb6286f02a8306 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