diff --git a/tasks/php.yml b/tasks/php.yml
index 6f6771e6609c8e67aaee4582109e23a398ca4245..400a7e38ae42b1c2be4b149278f34d3728298833 100644
--- a/tasks/php.yml
+++ b/tasks/php.yml
@@ -159,11 +159,13 @@
 - name: FPM Default Pool Configuration
   template:
     src: php_pool.conf
-    dest: /etc/{{ php_base_dir }}/fpm/pool.d/www.conf
+    dest: /etc/{{ php_base_dir }}/fpm/pool.d/default.conf
     owner: root
     group: root
     mode: 0644
   when: (php_version_main|default(7) == 7) and php_fpm
+  notify:
+    - Restart PHP-FPM
 
 - block:
     - name: Set facts for PHP 7
@@ -186,6 +188,22 @@
         mode: 0644
       notify:
         - Initial Logrotate
+
+    - name: Adjust apache config for default site
+      lineinfile:
+        dest: /etc/apache2/sites-available/{{ apache_conf_default_prefix }}default{{ apache_conf_ext }}
+        regexp: '{{ item.regexp }}'
+        line: '{{ item.line }}'
+      with_items:
+        - regexp: 'ProxyPassMatch'
+          line: '  ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:{{ php_fpm_port|default(9999) }}/var/www{{apache_server_default_root}}/$1'
+        - regexp: '<Proxy fcgi'
+          line: '  <Proxy fcgi://127.0.0.1:{{ php_fpm_port|default(9999) }}>'
+      when: apache_server_default
+      notify:
+        - Restart PHP-FPM
+        - Restart Apache
+
   when: php_fpm
   tags:
     - logrotate