[horde] changing cache files directory

Carlos Timóteo ctimoteo at sapo.pt
Fri Oct 4 13:05:41 UTC 2013


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.

-- 
Carlos Timóteo


More information about the horde mailing list