Persistent memcached connection with Apache and CodeIgniter

Posted by Claudiu on Stack Overflow See other posts from Stack Overflow or by Claudiu
Published on 2010-05-28T16:58:19Z Indexed on 2010/05/28 17:02 UTC
Read the original article Hit count: 139

I have a CodeIgniter project. I want to use Memcache, but I don't want to create a new connection every time index.php is loaded (which is on every page load). How can I set up Apache / CodeIgniter so that I always have access to a memcache connection, without having to re-establish it all the time?

© Stack Overflow or respective owner

Related posts about php

Related posts about apache