Last active
December 18, 2015 04:59
-
-
Save arjenschol/5729158 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) bt | |
#0 0x00007ffff5c8ce12 in ?? () from /usr/lib/libmemcached.so.11 | |
#1 0x00007ffff5c8d665 in memcached_server_add_with_weight () from /usr/lib/libmemcached.so.11 | |
#2 0x00007ffff5eb28c5 in zim_Memcached_addServer () from /usr/lib/php/modules/memcached.so | |
#3 0x00000000006d6e1c in ?? () | |
#4 0x000000000065513f in execute () | |
#5 0x000000000062fbd4 in zend_execute_scripts () | |
#6 0x00000000005d1b1c in php_execute_script () | |
#7 0x00000000006d8dcf in ?? () | |
#8 0x000000000042615d in ?? () | |
#9 0x00007ffff6908a15 in __libc_start_main () from /usr/lib/libc.so.6 | |
#10 0x00000000004261f9 in _start () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$memcache = new Memcached(); | |
$memcache->addServer('192.168.1.1', 11211); | |
$memcache->setOption(Memcached::OPT_DISTRIBUTION, Memcached::DISTRIBUTION_CONSISTENT); | |
$memcache->resetServerList(); | |
$memcache->addServer('192.168.1.1', 11211); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment