ZF-6608: Problem if /tmp Dir not readable
My Serverprovider hasn't set the Variables used in Zend_Cache_Backend->getTmpDir() so the returned value is '/tmp'. This directory isn't writeable an so i get Errors -- i don't even use Zend_Cache, just wanted to use Zend_Date.
As a quickfix i added $_ENV['TMPDIR'] = session_save_path() but i think this should be fixed in Zend_Cache_Backend. Probably it could be tested if /tmp is writeable and if not use session_save_path? I don't know...