mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-03-16 11:02:10 +07:00
Manages flags on PHP-FPM
This commit is contained in:
@@ -421,5 +421,12 @@ chdir = /
|
||||
;php_admin_value[error_log] = /var/log/fpm-php.www.log
|
||||
;php_admin_flag[log_errors] = on
|
||||
;php_admin_value[memory_limit] = 32M
|
||||
|
||||
{% if item.php_flag is defined %}
|
||||
{% for k, v in item.php_flag.items() %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if item.php_admin_flag is defined %}
|
||||
{% for k, v in item.php_admin_flag.items() %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
; vim:filetype=dosini
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
status_path: '/status'
|
||||
ping_path: '/ping'
|
||||
ping_response: 'ok'
|
||||
php_flag:
|
||||
display_errors: 'Off'
|
||||
php_admin_flag:
|
||||
memory_limit: '128M'
|
||||
|
||||
pre_tasks:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user