Manages flags on PHP-FPM

improve
Emilien Mantel 2019-12-16 17:28:39 +01:00
parent 73fa4dc212
commit 9738ae9614
2 changed files with 12 additions and 1 deletions

View File

@ -421,5 +421,12 @@ chdir = /
;php_admin_value[error_log] = /var/log/fpm-php.www.log ;php_admin_value[error_log] = /var/log/fpm-php.www.log
;php_admin_flag[log_errors] = on ;php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 32M ;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 ; vim:filetype=dosini

View File

@ -21,6 +21,10 @@
status_path: '/status' status_path: '/status'
ping_path: '/ping' ping_path: '/ping'
ping_response: 'ok' ping_response: 'ok'
php_flag:
display_errors: 'Off'
php_admin_flag:
memory_limit: '128M'
pre_tasks: pre_tasks: