We have just changed to a 2 server setup and I'd like to share the /tmp directory between machines so that images that are uploaded don't get lost. But whenever I try to change the directory from /tmp to /nfs/tmp (which exists and is writable) it gives me an error.
* warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(/usr/tmp) is not within the allowed path(s): (/home/votewrst:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/votewrst/public_html/includes/file.inc on line 91.
* The directory /usr/tmp does not exist.
Is there really a place that you enter allowed paths in drupal? That's what the wording is like but I don't see that anywhere.
Comments
This doesn't seem necessary.
This doesn't seem necessary. Uploaded images should go under the files directory under your Drupal installation.
Eventually they do, but when
Eventually they do, but when you're creating the node you upload all of your attachments through some type of ajax control. Drupal lists the temp directory as "Location where uploaded files will be kept during previews." so it would seem to me that I would want this folder universal.