Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [resolved] Database sleuthing
Destry wrote #327684:
Is the /tmp path always supposed to point to the /textpattern/tmp?
Or should it not?
Or does it matter what tmp on the server?
Nope. It can, but other locations can be used just fine. The web server user (and by extension, the PHP glue) runs as a user on the underlying system. This might be generic (e.g. www-data is used a lot), or very specific (e.g. destrywion). The user needs read/write access to the given location for temp stuff to work. Whether this temp directory is web-side (e.g. /textpattern/tmp) or elsewhere (e.g. /tmp) will be a factor in what it’s used for.
I don’t know of any way to prime the temp dir from Textpattern to see if it works, beyond looking for warnings in Diagnostics…though I’m sure someone else will pipe up soon.
Offline