Jump to content
xisto Community
BCD

What Is The Path Of Drupal "temporary Directory" On Server?

Recommended Posts

I am building out a Drupal website on my local test environment. Its in final stages, after which it will be transferred to the server. I have been looking around for the things which needs to be changed when put up on the server. Apart from the databse settings to be taken care of, I found a field "Temporary directory" in Administer / Site Configuration / File System. It is currently set to "\web\xampp\tmp" by default during the installation on localhost. What should this be replaced when moved on to server?

 

Apart from this, are there any other things to be changed/noted before uploading it on to server?

Share this post


Link to post
Share on other sites

I am building out a Drupal website on my local test environment. Its in final stages, after which it will be transferred to the server. I have been looking around for the things which needs to be changed when put up on the server. Apart from the databse settings to be taken care of, I found a field "Temporary directory" in Administer / Site Configuration / File System. It is currently set to "\web\xampp\tmp" by default during the installation on localhost. What should this be replaced when moved on to server?

 

Apart from this, are there any other things to be changed/noted before uploading it on to server?


The usual linux temp directory is simply \tmp

Share this post


Link to post
Share on other sites

I don't think the choice of path is particularly important, so long as it exists and is writeable by Drupal. The help text from Drupal's admin panel tells you what it's used for:

A file system path where uploaded files will be stored during previews.

If you transfer to Xisto's hosting then you probably won't be able to use /tmp as the path, so set it to a folder within your Drupal installation and CHMOD it to allow Drupal to read and write files in that folder.

Share this post


Link to post
Share on other sites

Yes, I was thinking how would system path work for Drupal. Thanks for clarifying this. As you said, I created a folder in Drupal installation root. But what should I Chmod this so that its not accessible by world. Does Drupal need Owner or Group permission to access the folder? I mean should I chmod to 755 or 775 or something else.And one more thing, when entering the path in the field, should it be system path or web path?Just in case I would also disable access to robots in robots.txt.

Edited by BCD (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.