๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ansible-playbooks/roles/php/defaults/main.yml

30 lines
746 B

php_install_fpm: yes
php_version: 8
php_default_config:
error_reporting: 'E_ALL & ~E_NOTICE'
memory_limit: "{{ (((hardware.memory | d(512) | int | abs) | d(512)) / 2) | int | abs }}M"
date.timezone: "{{ timezone }}"
php_fpm_default_config:
listener:
user: "{{ php_fpm_user }}"
group: "{{ php_fpm_group }}"
listen: "{{ php_fpm_socket }}"
listen.owner: "{{ php_fpm_user }}"
listen.group: "{{ php_fpm_group }}"
listen.mode: "0660"
pm: dynamic
pm.max_children: 8
pm.start_servers: 2
pm.min_spare_servers: 1
pm.max_spare_servers: 3
catch_workers_output: yes
'php_admin_flag[log_errors]': on
'php_admin_value[error_log]': syslog
global:
error_log: syslog
log_level: notice