2010年10月3日星期日

Re: [fw-mvc] safe mod and zend_cache

On 29 Sep 2010, at 21:08, Matthew Weier O'Phinney wrote:

> -- sina miandashti <miandashti@gmail.com> wrote
> (on Wednesday, 29 September 2010, 11:28 PM +0330):
>> safe mod in my server is preventing zend_cache from caching it shows this
>> exception :
>>
>> *Could not determine temp directory, please specify a cache_dir manually*
>> *
>> *
>> i talked to my webhost manager and he said they cant turn the safe mod off
>>
>>
>> what can i do?
>>
>> zend_cache not works with safemod?
>
> It can work with safe_mode fine -- but you need to tell Zend_Cache to
> use a directory within your application tree. Use the "cache_dir"
> backend option for the File backend to specify the directory.

Also, be aware that you get the same message if the application can't read or write to the specified cache_dir. Took me ages to work that out on Friday :)

Regards,

Rob...

没有评论: