Welcome Guest, Not a member yet? Register   Sign In
CI 2.1.4 and Memcached
#1

[eluser]Unknown[/eluser]
I'm new to CI and this is my first post. I'm trying to make use of memcache and I'm having a difficult time.

My environment is CentOS using PHP 5.4.16 and Apache 2.2.24. I have memcached running on the standard port. I have mem_cache_module installed in apache, and PHP sees memcache libraries on phpinfo.

When I run the following:
Code:
public function cache() {
  $this->load->driver('cache');
  $this->cache->memcached->save('foo', 'bar', 10);  
  var_dump($this->cache->memcached->is_supported());

}

I get:
Code:
bool(false)

This is in the log:
Code:
ERROR - 2013-10-26 23:04:55 --> The Memcached Extension must be loaded to use Memcached Cache.


Messages In This Thread
CI 2.1.4 and Memcached - by El Forum - 10-29-2013, 06:50 PM
CI 2.1.4 and Memcached - by El Forum - 10-29-2013, 09:39 PM
CI 2.1.4 and Memcached - by El Forum - 10-30-2013, 06:35 AM
CI 2.1.4 and Memcached - by El Forum - 11-07-2013, 12:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB