mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-28 12:45:16 +01:00
Merge pull request #72 from LewisW/configurable-pool-path
Made php_fpm_pool_conf_path configurable - for PHP 7.
This commit is contained in:
commit
3170d5c263
@ -4,6 +4,11 @@
|
||||
php_fpm_daemon: "{{ __php_fpm_daemon }}"
|
||||
when: php_fpm_daemon is not defined
|
||||
|
||||
- name: Define php_fpm_pool_conf_path.
|
||||
set_fact:
|
||||
php_fpm_pool_conf_path: "{{ __php_fpm_pool_conf_path }}"
|
||||
when: php_fpm_pool_conf_path is not defined
|
||||
|
||||
- name: Configure php-fpm pool (if enabled).
|
||||
lineinfile:
|
||||
dest: "{{ php_fpm_pool_conf_path }}"
|
||||
|
@ -20,4 +20,4 @@ __php_extension_conf_path: "{{ __php_conf_path }}/conf.d"
|
||||
__php_apc_conf_filename: 20-apcu.ini
|
||||
__php_opcache_conf_filename: 05-opcache.ini
|
||||
__php_fpm_daemon: php5-fpm
|
||||
php_fpm_pool_conf_path: "/etc/php5/fpm/pool.d/www.conf"
|
||||
__php_fpm_pool_conf_path: "/etc/php5/fpm/pool.d/www.conf"
|
||||
|
@ -23,4 +23,4 @@ php_extension_conf_path: /etc/php.d
|
||||
__php_apc_conf_filename: 50-apc.ini
|
||||
__php_opcache_conf_filename: 10-opcache.ini
|
||||
__php_fpm_daemon: php-fpm
|
||||
php_fpm_pool_conf_path: "/etc/php-fpm.d/www.conf"
|
||||
__php_fpm_pool_conf_path: "/etc/php-fpm.d/www.conf"
|
||||
|
Loading…
Reference in New Issue
Block a user