I have a VPS with two vhosts and silverstripe 3 installed on one of them. I want to install silverstripe 3 on the other vhost too. Unfortunately the second site's install screen is telling me I can't install because it can't write to /tmp/silverstripe-cache.
It seems that the first install wrote the cache in /tmp/silverstripe-cache (i.e. literally the tmp directory under root and not under it's web area /var/,...../some domain/httpdocs/tmp/silverstripe-cache.
This is a problem because the second installation is blocked because of it.
So my question is this:
1. How can I change the location of the cache in an already installed and working sivlerstripe system.
2. How can I specify the location of the new cache?
i.e. I want each install's cache to be under it's web root and not the server root. Any ideas?
EDIT: or is it safe for both installations to use the same cache folder - assuming I can set the privileges properly?
2nd EDIT: I'm assuming it's safe. No problems so far.