Nextcloud_Installer/config/php/cloud.conf

31 lines
739 B
Plaintext

[nextcloud]
listen = /run/php/cloudMain.sock
listen.owner = nextcloud
listen.group = www-data
listen.mode = 0660
user = nextcloud
group = www-data
pm = ondemand
pm.max_children = PHPTHR
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 2
pm.max_requests = 1000
pm.process_idle_timeout = 180s
chdir = /
env[HOSTNAME] = $HOSTNAME
env[TMP] = /tmp/
env[TMPDIR] = /tmp/
env[TEMP] = /tmp/
env[PATH] = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
php_admin_value[upload_tmp_dir] = /nextcloud/data/tmp/
php_admin_value[memory_limit] = MEMLIM
php_admin_value[upload_max_filesize] = 4096M
php_admin_value[session.save_handler] = redis
php_admin_value[session.save_path] = unix:///run/redis/redis-server.sock