Site5 - Built For Designers & Developers MENU

Where is the default PHP upload_tmp_dir?

Looking at the PHP upload_tmp_dir directive value via Site Admin -> Programming Center -> PHP ‘no value’ is defined (default PHP 5.2 configuration).

This means uploaded files should be “stored in the server’s default temporary directory”. (http://php.net/manual/en/ini.core.php#ini.upload-tmp-dir).

What is the default tmp directory & is it dedicated/unique per account?

As a suggestion the value of the TMPDIR environment variable could be added to the Site Admin -> Programming Center -> Server Info.

Answer #1

Hi Kpowz,

The default tmp directory is /tmp. It’s shared by all accounts and users on the server.

Great suggestion! I’ll be sure to pass that along!

Answers Answered By: alicursi [22 Grey Star Level]

Answer this Question

You must be Logged In to post an Answer.

Not a member yet? Sign Up Now »

Money Back Guarantees
Click to verify BBB accreditation and to see a BBB report.