You are here: Re: [PHP] php temporary files « PHP « IT news, forums, messages
Re: [PHP] php temporary files

Posted by Marek Kilimajer on 02/22/05 06:17

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация