Memcached not working on codeigniter 2.1.0?

The CI driver is looking for the Apache Module, but in WIN we use mostly the PHP-Class Memcache.

Up vote 0 down vote favorite share g+ share fb share tw.

I have been trying to make it work for sometime now, but I can't. I am working on a Windows 7 64bits, I have the Memcached Server running as Service, I have the php_memcached. Dll extension in the PHP 5.3.8 and when I call it on the app in Codeigniter I do it the right way (I Think).

$this->load->driver('cache', array('adapter' => 'memcached', 'backup' => 'file')); var_dump($this->cache->memcached->is_supported()); die(); but it throws a false so I don't know what I am doing wrong. When I call it like this: $this->load->driver('cache', array('adapter' => 'memcached', 'backup' => 'file')); $data = $this->cache->memcached->get('data_' . $idData); I get this PHP error: Fatal error: Call to a member function get() on a non-object in E:\workspace\example\system\libraries\Cache\drivers\Cache_memcached.

Php on line 50 Thanks for the help :-) memcached codeigniter-2 link|improve this question edited Jan 22 at 21:53 asked Jan 22 at 21:04jonaypelluz13.

The CI driver is looking for the Apache Module, but in WIN we use mostly the PHP-Class Memcache. Try to change Line 165 in /system/libraries/Cache/drivers/Cache_memcached. Php $this->_memcached = new Memcached(); For me it works after changing from Memcached to Memcache.

$this->_memcached = new Memcache().

It doesn't work :-(, thanks for the help :-) – jonaypelluz Jan 24 at 11:21.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions