On CI_Session_memcached_driver method open
put this check
if(!class_exists('Memcached')){
die('Memcached class not installed.
Please install first Memcached on your server.');
}
$this->_memcached = new Memcached();
You are responsible to know that Memcached isn't available on the server before you configure CodeIgniter to use it ...
If I use however Memcache no Memcached? what happens then?
Nothing different ... you'd be trying to use something that the library doesn't support.
can you do for Memcache?
No.
Why?
Because I don't have a Memcache instance, nor the time, desire and/or obligation to do so.
Most helpful comment
Because I don't have a Memcache instance, nor the time, desire and/or obligation to do so.