diff --git a/templates/php-fpm.ini b/templates/php-fpm.ini index 40d8689..6c72f4a 100644 --- a/templates/php-fpm.ini +++ b/templates/php-fpm.ini @@ -1,17 +1,14 @@ -upload_max_filesize = 15M -post_max_size = 15M -memory_limit = 192M -max_execution_time = 300 +upload_max_filesize = {{ php.upload_max_filesize | default ('15M') }} +post_max_size = {{ php.post_max_size | default ('15M') }} +memory_limit = {{ php.memory_limit | default ('192M') }} +max_execution_time = {{ php.max_execution_time | default ('300') }} -date.timezone = Europe/Berlin -default_charset = "UTF-8" +date.timezone = {{ php.date_timezone | default ('Europe/Berlin') }} +default_charset = "{{ php.default_charset | default ('UTF-8') }}" ;Upload-Fortschritt apc.rfc1867 = 1 -{% if inventory_hostname == "wwwusers.sao" %} -error_log = /var/log/php.log -{% endif %} display_errors = Off ;Empfohlene Einstellungen (pcc)