Assuming one installs several Drupal sites on the same server (i.e., with multiple top-level directories, not multiple sites under a single top-level directory), can these installations share the same temporary directory or should they each have their own temporary directory?

1 Answer 1


They can all share the same folder if you want them to, but if you want to give each domain it's own tmp folder that's fine too...it really depends on how you want to set your server up.

Aside from being able to identify which tmp files have come from which site (which personally I've found no need to do up to this point in my life) I can't think of an argument either way to be honest.

Edit: Thinking about it a bit more, if you're running a shared host of any description it might make sense to provide a tmp folder for each domain so it's sandboxed from other sites, and from the main system tmp folder (and subsequently other parts of the system that don't relate to web).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.