Re: sqlite temp directory
| From: | Andi Gutmans | Date: | Mon, 06 Sep 2004 07:24:07 +0000 |
| Subject: | Re: sqlite temp directory | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12606@lists.php.net to get a copy of this message | ||
Yeah I think that's a good idea. The only thing I'm not sure about is if we should unify tmp configuration for all extensions. My first instinct would be yes but from looking at php.ini
;upload_tmp_dir =
;session.save_path = "/tmp"
soap.wsdl_cache_dir="/tmp"
People might want to put these things into different directories so maybe the answer is no :)
Do you have a patch which implements this?
Andi
At 06:29 PM 9/5/2004 +0300, Michael Spector wrote:
Hi, It looks like libsqlite uses global variable 'sqlite_temp_directory' for storing the path to temporary directory. It would be very useful, if there was a PHP.ini entry named like: "sqlite.temp_directory" setting this variable, since there are cases where user environment doesn't allow to every user writting to /tmp, /usr/tmp, /var/tmp or to current directory, or another temporary directory is used. In such cases, these users usually get this warning: <b>Warning</b>: sqlite_open(): unable to open a temporary database file for storing temporary tables in <b>.... Thanks. -- Best regards, Michael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php