nginx/php-pool: Added configuration for allow_overwrite_include

dehydrated
Felix Stupp 4 years ago
parent 3ab19950c4
commit 7638b6f86c
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -6,6 +6,7 @@
pool_name: "{{ system_user + '-' + domain | regex_findall('[a-zA-Z0-9]+') | join('_') }}"
socket_directory: "{{ phpfpm_sockets_directory }}/{{ pool_name }}"
socket: "{{ socket_directory }}/socket"
allow_overwrite_includes: no
includes: []
env_vars: {}
memory_limit: 0 # unlimited

@ -34,7 +34,9 @@ env[TEMP] = /tmp
env[{{ key }}] = {{ val | quote }}
{% endfor %}
{% if not allow_overwrite_includes %}
php_admin_value[include_path] = ".:{{ includes | join(':') }}:/usr/share/php"
{% endif %}
{% if memory_limit is defined and memory_limit %}
php_admin_value[memory_limit] = {{ memory_limit }}
{% endif %}

Loading…
Cancel
Save