From 61bd1f9b35168ae2eb82085c8d0306c46ca22152 Mon Sep 17 00:00:00 2001 From: Falko Timme <ft@falkotimme.com> Date: Fri, 28 Nov 2014 06:14:51 -0500 Subject: [PATCH] - Implemented FS#2653 - Set TMP, TMPDIR and TEMP environment variable. --- server/conf/php-fcgi-starter.master | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/server/conf/php-fcgi-starter.master b/server/conf/php-fcgi-starter.master index 92edf86..679f1b2 100644 --- a/server/conf/php-fcgi-starter.master +++ b/server/conf/php-fcgi-starter.master @@ -9,6 +9,9 @@ # export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=<tmpl_var name='php_fcgi_max_requests'> export PHP_FCGI_MAX_REQUESTS +export TMP=<tmpl_var name='document_root'>/tmp +export TMPDIR=<tmpl_var name='document_root'>/tmp +export TEMP=<tmpl_var name='document_root'>/tmp exec <tmpl_var name='php_fcgi_bin'> \ <tmpl_if name="security_level" op="==" value="20"> -d open_basedir="<tmpl_var name='open_basedir'>" \ -d disable_functions="" \ -- Gitblit v1.9.1