summaryrefslogtreecommitdiff
path: root/php.ini-production
diff options
context:
space:
mode:
authorALeX Kazik <git@kazik.de>2013-01-18 17:13:39 +0100
committerStanislav Malyshev <stas@php.net>2013-01-28 22:37:43 -0800
commit475a644bd84c071da04b4272b829a187a2c6d282 (patch)
tree0fdffe041ec37fbacf13d56d9c9b842a0f17073c /php.ini-production
parenta9d013bb020591cb6306afa2748da80f68b81f56 (diff)
downloadphp-git-475a644bd84c071da04b4272b829a187a2c6d282.tar.gz
Implemented Feature #60524 (sys_temp_dir)
Added a new configuration directive which allows it to change the temporary directory, the default behavior is unchanged. This is a useful option if you use all/some hosts inside of one .ini file with sections and want to change the temp dir per user (maybe it's not allowed to write outside the users home directory). Since the TMPDIR variable affects the whole php that way can not be used for this scenario. (see https://bugs.php.net/bug.php?id=60524)
Diffstat (limited to 'php.ini-production')
-rw-r--r--php.ini-production4
1 files changed, 4 insertions, 0 deletions
diff --git a/php.ini-production b/php.ini-production
index dce8fc970c..7d84c9b879 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -729,6 +729,10 @@ user_dir =
; On windows:
; extension_dir = "ext"
+; Directory where the temporary files should be placed.
+; Defaults to the system default (see sys_get_temp_dir)
+; sys_temp_dir = "/tmp"
+
; Whether or not to enable the dl() function. The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
; disabled on them.