and it I want to set cache_dir and ttl, how should the command be?
please help.


On Thu, Feb 6, 2014 at 10:06 PM, jmleroux [via Zend Framework
Community] <[email protected]> wrote:
> I think you made a mistake in the config and place 'plugins' inside
> 'options' array.
>
> Here is a corret configuration :
>
> $cache   = \Zend\Cache\StorageFactory::factory(array(
>     'adapter' => array(
>         'name' => 'filesystem'
>     ),
>     'plugins' => array(
>         // Don't throw exceptions on cache errors
>         'exception_handler' => array(
>             'throw_exceptions' => false
>         ),
>     )
> ));
>
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://zend-framework-community.634137.n4.nabble.com/zend-cache-Not-found-tp4661626p4661637.html
> To unsubscribe from zend_cache Not found, click here.
> NAML




--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/zend-cache-Not-found-tp4661626p4661638.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to