set default charset for php
This commit is contained in:
parent
eed80de273
commit
66b2ad6696
@ -391,7 +391,7 @@ pm.max_spare_servers = 3
|
||||
; the current environment.
|
||||
; Default Value: clean env
|
||||
;env[HOSTNAME] = $HOSTNAME
|
||||
;env[PATH] = /usr/local/bin:/usr/bin:/bin
|
||||
env[PATH] = /usr/local/bin:/usr/bin:/bin
|
||||
;env[TMP] = /tmp
|
||||
;env[TMPDIR] = /tmp
|
||||
;env[TEMP] = /tmp
|
||||
@ -421,6 +421,13 @@ pm.max_spare_servers = 3
|
||||
;php_admin_flag[log_errors] = on
|
||||
;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")}}
|
||||
{{range $admin_value := split (getenv "PHP_ADMIN_VALUES") ";"}}
|
||||
{{$values := split ($admin_value) "="}}
|
||||
|
Loading…
Reference in New Issue
Block a user