summarylogtreecommitdiffstats
path: root/kopano-webapp.conf
blob: 1c1606e9502e5c36bdee655bdaf46db433384828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[kopano-webapp]
listen = /run/php-fpm/kopano-webapp.sock
listen.owner = http
listen.group = http
listen.mode = 0666


user = http
group = http

; 5 kopano-webapp users
pm = ondemand
pm.max_children = 15
pm.max_requests = 500

env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
env[HOME] = /home

php_flag[short_open_tag] = on
php_flag[register_globals] = off
php_flag[magic_quotes_gpc] = off
php_flag[magic_quotes_runtime] = off

; The maximum POST limit. To upload large files, this value must be larger than upload_max_filesize.
php_admin_value[upload_max_filesize] = 30M
php_admin_value[post_max_size] = 31M

php_admin_value[open_basedir] = ${open_basedir}:/usr/share/webapps/kopano-webapp:/etc/webapps/kopano-webapp:/var/lib/kopano-webapp:/var/log/kopano-webapp:/usr/share/php/mapi
php_admin_value[date.timezone] = Europe/Berlin
php_admin_value[session.save_path] = /var/lib/kopano-webapp/tmp