[horde] changing cache files directory

Michael J Rubinsky mrubinsk at horde.org
Fri Oct 4 14:58:50 UTC 2013


Quoting Carlos Timóteo <ctimoteo at sapo.pt>:

> Em 04-10-2013 09:39, Francesc Guasch escreveu:
>> Hi, I am using Horde and Imp H5 (6.0.2). Actually there
>> are many cache_* files in /tmp. I'd like horde to create
>> those files elsewhere.
>>
>> I tried looking cgi/php.ini and cli/php.ini. I found
>> session.save_path = "/var/tmp/horde"
>>
>> That works for session files, but not for the cache ones.
>>
>> I also found in horde/config/conf.php :
>>
>> $conf['cache']['driver'] = 'File';
>>
>> But I can't see where to tell it to store the files in
>> other directory. I tried this but I had no luck:
>>
>> $conf['cache']['directory'] = '/var/tmp/horde_cache';
>>
>> Any hints ? thank you.
>
> Hello,
>
> Try in your file:
>
> horde/config/conf.local.php
>
> add the config:
>
> $conf['tmpdir'] = '/var/tmp/horde_cache';
>
> Bye.

Or better yet, use the configuration interface.
-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5849 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20131004/77c22d9f/attachment-0001.bin>


More information about the horde mailing list