From 475a644bd84c071da04b4272b829a187a2c6d282 Mon Sep 17 00:00:00 2001 From: ALeX Kazik Date: Fri, 18 Jan 2013 17:13:39 +0100 Subject: 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) --- php.ini-development | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'php.ini-development') diff --git a/php.ini-development b/php.ini-development index a97cd0f9da..93a4b7d8a5 100644 --- a/php.ini-development +++ b/php.ini-development @@ -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. -- cgit v1.2.1