From b731e265e494bf2002acbb3d3eb6df4bd46f8be2 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Thu, 27 Jun 2019 11:52:35 +0200
Subject: [PATCH] Improve installation and configuration after some experience
 with the framework

---
 tasks/php.yml           | 2 +-
 templates/php_pool.conf | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tasks/php.yml b/tasks/php.yml
index 9b008c6..90aef8d 100644
--- a/tasks/php.yml
+++ b/tasks/php.yml
@@ -159,7 +159,7 @@
     owner: root
     group: root
     mode: 0644
-  when: (php_version_main|default(7) == 7) and (jailkit is not defined or not jailkit) and (php_fpm)
+  when: (php_version_main|default(7) == 7) and php_fpm
 
 - block:
     - name: Set facts for PHP 7
diff --git a/templates/php_pool.conf b/templates/php_pool.conf
index 209703f..a0eed13 100644
--- a/templates/php_pool.conf
+++ b/templates/php_pool.conf
@@ -1,4 +1,4 @@
-[www]
+[default]
 user = www-data
 group = www-data
 ;chroot = /var/www{{apache_server_default_root|default('')}}
@@ -6,7 +6,7 @@ chdir = /
 {% if php_fpm_socket %}
 listen = /var/run/php{{ php_version_main }}-fpm.sock
 {% else %}
-listen = 127.0.0.1:{{ php_fpm_port|default(9000) }}
+listen = 127.0.0.1:{{ php_fpm_port|default(9999) }}
 {% endif %}
 
 ; Process manager
-- 
GitLab