Manages flags on PHP-FPM
parent
73fa4dc212
commit
9738ae9614
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue