Thanks a lot. Would you please write the same for all other available
adapters too?
I use ZF2.
 در 2014 2 7 09:36، "jmleroux [via Zend Framework Community]" <
ml-node+s634137n4661640...@n4.nabble.com> نوشت:

> Something like this :
>
> $cache   = \Zend\Cache\StorageFactory::factory(array(
>     'adapter' => array(
>         'name' => 'filesystem',
>         'options' => array(
>             'cache_dir' => '/tmp/cache',
>             'ttl' => 3600,
>         ),
>     ),
>     'plugins' => array(
>         // Don't throw exceptions on cache errors
>         'exception_handler' => array(
>             'throw_exceptions' => false
>         ),
>         'serializer' => array(
>             'serializer' => 'Zend\Serializer\Adapter\PhpSerialize',
>             'options' => array(),
>         ),
>     )
> ));
>
>
>
>
> ------------------------------
>  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-tp4661626p4661640.html
>  To unsubscribe from zend_cache Not found, click 
> here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4661626&code=bnNhZGphZGlAZ21haWwuY29tfDQ2NjE2MjZ8LTEzOTk0MzM3ODU=>
> .
> NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




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

Reply via email to