diff --git a/tasks/php.yml b/tasks/php.yml index 9b008c6757988870b19756e7c3c0815b7d551f50..90aef8df90392c1e71f9c4f13ba813d353d80439 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 209703fc587644af6e93d761edd248460c958cc3..a0eed13e711a81db32de608d4ac45a326c50f3f1 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