I have inherited an application written with Zend Framework 1.11.2. It has been ported to a server managed by my company, but some of the functionality of the site seem broken on the new server, due to a little fine tuning of the environment.
Specifically, one of the cron jobs on the system is throwing an exception related to the cache directory not being writable.
I am not sure where the cache directory is to make it writable. I have done a little reading and it seems to suggest there is a tmp directory. Can anyone point me in the right direction to either the directory, or how to find out where it is, if it is application specific?
Any help appreciated.
The code for which determines the
cache_dirto use when one is not specified is inZend_Cache_Backend::getTmpDir(). The results are OS-specific and even environment-specific.This little snippet:
produced
/tmpon my Ubuntu. YMMV.