aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/fpm-pool.conf
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-06-25 02:00:23 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-06-25 02:42:48 +0200
commit2a9da16c79f4bb48136b0e0a87958a1e22b697ef (patch)
treeb6dbfb64b754dae5130ad160088e03f8a73b0c96 /community/nextcloud/fpm-pool.conf
parent75c0ec68eec739bef5606b68b288988896a3a9c7 (diff)
downloadaports-2a9da16c79f4bb48136b0e0a87958a1e22b697ef.tar.gz
aports-2a9da16c79f4bb48136b0e0a87958a1e22b697ef.tar.bz2
aports-2a9da16c79f4bb48136b0e0a87958a1e22b697ef.tar.xz
community/nextcloud: improve default settings
Diffstat (limited to 'community/nextcloud/fpm-pool.conf')
-rw-r--r--community/nextcloud/fpm-pool.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/nextcloud/fpm-pool.conf b/community/nextcloud/fpm-pool.conf
index 14a25155ad..4e09b57028 100644
--- a/community/nextcloud/fpm-pool.conf
+++ b/community/nextcloud/fpm-pool.conf
@@ -125,7 +125,10 @@ ping.path = /ping
; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
; the current environment.
; Default Value: clean env
-env[PATH] = /usr/bin:/bin
+env[PATH] = /usr/local/bin:/usr/bin:/bin
+env[TMP] = /tmp
+env[TMPDIR] = /tmp
+env[TEMP] = /tmp
; Additional php.ini defines, specific to this pool of workers. These settings
; overwrite the values previously defined in the php.ini. The directives are the
@@ -158,6 +161,7 @@ php_admin_value[sys_temp_dir] = /var/tmp/nextcloud
php_admin_value[upload_tmp_dir] = /var/tmp/nextcloud
; Log errors to specified file.
+php_admin_flag[log_errors] = on
php_admin_value[error_log] = /var/log/nextcloud/php.error.log
; OPcache error_log file name. Empty string assumes "stderr"