RE: [PHP-INST] PHP on Shared Server
| From: | Krznaric Michael | Date: | Mon, 05 Feb 2001 21:03:54 +0000 |
| Subject: | RE: [PHP-INST] PHP on Shared Server | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1933@lists.php.net to get a copy of this message | ||
With respect to files filling up in the tmp_dir, you should consider
that when a file is uploaded it is temporarily stored in the temp_dir and is
then copied to the directory specified in the script or in case that fails
is then unlinked. (if I'm not mistaken). I'm sure you could verify this
with a small test.
Mike
-----Original Message-----
From: Steven Shepherd [mailto:steven@gate.net]
Sent: Monday, February 05, 2001 1:37 PM
To: php-install@lists.php.net
Subject: [PHP-INST] PHP on Shared Server
Hello -
We are installing PHP on a shared Linux webserver. We are *NOT* using it
as a module (for reasons which I won't go into).
Anyhow, my question is regarding the following directive: upload_tmp_dir
Since we are not using it as a module, we cannot define this variable
inside the virtual user setting in Apache (or can we?).
If this directive is not defined, where do the files go
temporarily? (/tmp?)
I guess I just don't understand the tmp_dir issue. If I have a script
for file uploads, the files should go wherever it is stated in the
script...Under what circumstances is the tmp_dir used?
Bottom line - We arent using it as a module, we want to give customers
ability to upload files (shared enviroment), but we don't want the risk of
filling up system directories (e.g. /tmp). Ideas? Thanks!
Steve
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
For additional commands, e-mail: php-install-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net