Re: php temporary files
| From: | Marek Kilimajer | Date: | Tue, 22 Feb 2005 04:17:52 +0000 |
| Subject: | Re: php temporary files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209155@lists.php.net to get a copy of this message | ||
Péntek Imre wrote:
Hi, Now I want to see all my temporary php files in /tmp/php. I made these settings: root@nn1:~# cat /etc/php.ini |grep /tmp/php upload_tmp_dir =/tmp/php session.save_path = "/tmp/php" soap.wsdl_cache_dir="/tmp/php" root@nn1:~# But when I use gzopen() or gzfile() the temporary files are still stored in /tmp/ What other settings should I make?You need to set enviroment variables $TMPDIR and $TMP. I'm not sure which one of these are used by those functions, but you can safely change both.