mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-02-24 09:23:29 +07:00
Add env vars on PHP-FPM pool template (#17)
Co-authored-by: Théo Adolphe <theo.adolphe@skilleos.com>
This commit is contained in:
@@ -421,6 +421,9 @@ catch_workers_output = {{ item.catch_workers_output | default('no') }}
|
||||
;php_admin_value[error_log] = /var/log/fpm-php.www.log
|
||||
;php_admin_flag[log_errors] = on
|
||||
;php_admin_value[memory_limit] = 32M
|
||||
{% for k, v in item.php_env.items() | list %}
|
||||
env[{{ k }}] = {{ v }}
|
||||
{% endfor %}
|
||||
{% for k, v in item.php_value.items() | list %}
|
||||
php_value[{{ k }}] = {{ v }}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user