I'm trying to use memcache with PHP. phpinfo says that memcache is installed.
Here's the code I'm using. I get a "connection refused" warning. Does that mean memcached isn't running? Should it be?
- Code: Select all
$memcache = new Memcache;
$memcache->connect('localhost') or die ("Could not connect");
Thanks!