Skip to content

Instantly share code, notes, and snippets.

@glynrob
Created September 22, 2012 16:43
Show Gist options
  • Save glynrob/3766705 to your computer and use it in GitHub Desktop.
Save glynrob/3766705 to your computer and use it in GitHub Desktop.
Multiple instances of memcached
$config= array(
'default' => array(
'host' => '127.0.0.1',
'port' => 11211,
'weight' => 80
),
'server_1' => array(
'host' => '127.0.0.2',
'port' => 11211,
'weight' => 50
),
'server_2' => array(
'host' => '127.0.0.3',
'port' => 11211,
'weight' => 10
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment