initial upload
This commit is contained in:
21
roles/apache_php/defaults/main.yml
Normal file
21
roles/apache_php/defaults/main.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
|
||||
apache_phpfpm_php: "{{ 'php7.4' if ansible_distribution_release == 'focal' else 'php7.4' }}"
|
||||
|
||||
apache_phpfpm_etc_dir: "{{ '/etc/php/7.4/fpm' if ansible_distribution_release == 'focal' else '/etc/php/7.4/fpm' }}"
|
||||
|
||||
apache_phpfpm_max_workers: 30
|
||||
apache_phpfpm_timeout: 120
|
||||
|
||||
apache_phpfpm_php_settings:
|
||||
short_open_tag: on
|
||||
display_errors: off
|
||||
|
||||
apache_phpfpm_php_admin_settings:
|
||||
log_errors: on
|
||||
error_log: /var/log/php-fpm.$pool.log
|
||||
memory_limit: 512M
|
||||
open_basedir: /srv/www:/var/www:/opt:/usr/share:/var/lib/{{ apache_phpfpm_php }}:/var/lib/php:/dev:/tmp:/var/log/kc:/var/spool/asterisk
|
||||
|
||||
apache_phpfpm_xcache_size: 128M
|
||||
|
||||
Reference in New Issue
Block a user