Re: php temporary files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux