set default charset for php

This commit is contained in:
Sebastian Hugentobler 2016-06-29 12:34:21 +02:00
parent eed80de273
commit 66b2ad6696

View File

@ -391,7 +391,7 @@ pm.max_spare_servers = 3
; the current environment. ; the current environment.
; Default Value: clean env ; Default Value: clean env
;env[HOSTNAME] = $HOSTNAME ;env[HOSTNAME] = $HOSTNAME
;env[PATH] = /usr/local/bin:/usr/bin:/bin env[PATH] = /usr/local/bin:/usr/bin:/bin
;env[TMP] = /tmp ;env[TMP] = /tmp
;env[TMPDIR] = /tmp ;env[TMPDIR] = /tmp
;env[TEMP] = /tmp ;env[TEMP] = /tmp
@ -421,6 +421,13 @@ pm.max_spare_servers = 3
;php_admin_flag[log_errors] = on ;php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 32M ;php_admin_value[memory_limit] = 32M
php_admin_value[default_charset] = UTF-8
{{if (getenv "MAXUPLOADSIZE")}}
php_admin_value[upload_max_filesize] = {{getenv "MAXUPLOADSIZE"}}
php_admin_value[post_max_size] = {{getenv "MAXUPLOADSIZE"}}
{{end}}
{{if (getenv "PHP_ADMIN_VALUES")}} {{if (getenv "PHP_ADMIN_VALUES")}}
{{range $admin_value := split (getenv "PHP_ADMIN_VALUES") ";"}} {{range $admin_value := split (getenv "PHP_ADMIN_VALUES") ";"}}
{{$values := split ($admin_value) "="}} {{$values := split ($admin_value) "="}}