Welcome Guest, Not a member yet? Register   Sign In
CI 2.0 missing memcache config file
#15

[eluser]Fábio[/eluser]
This works.

The memcached driver doesn't look for the key 'memcached',
it uses all keys defined in this config file as one server.


Code:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

$config['server_1'] = array('hostname' => '127.0.0.1', 'port' => 11211, 'weight' => 1);
$config['server_2'] = array('hostname' => '127.0.0.2', 'port' => 11211, 'weight' => 1);
$config['server_3'] = array('hostname' => '127.0.0.3', 'port' => 11211, 'weight' => 1);

?>


Messages In This Thread
CI 2.0 missing memcache config file - by El Forum - 02-02-2011, 01:17 PM
CI 2.0 missing memcache config file - by El Forum - 02-02-2011, 06:32 PM
CI 2.0 missing memcache config file - by El Forum - 02-02-2011, 08:16 PM
CI 2.0 missing memcache config file - by El Forum - 02-02-2011, 09:17 PM
CI 2.0 missing memcache config file - by El Forum - 02-05-2011, 07:09 PM
CI 2.0 missing memcache config file - by El Forum - 02-08-2011, 09:25 AM
CI 2.0 missing memcache config file - by El Forum - 02-08-2011, 11:47 AM
CI 2.0 missing memcache config file - by El Forum - 02-08-2011, 01:52 PM
CI 2.0 missing memcache config file - by El Forum - 02-09-2011, 08:43 AM
CI 2.0 missing memcache config file - by El Forum - 02-09-2011, 08:44 AM
CI 2.0 missing memcache config file - by El Forum - 08-17-2011, 03:02 PM
CI 2.0 missing memcache config file - by El Forum - 08-17-2011, 03:37 PM
CI 2.0 missing memcache config file - by El Forum - 03-06-2012, 04:39 AM
CI 2.0 missing memcache config file - by El Forum - 07-25-2013, 12:56 AM
CI 2.0 missing memcache config file - by El Forum - 09-04-2014, 11:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB