Memcached Extension Failed connection test




Wordpress LScache Plugin: Memcached Extension Failed connection test

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hello, I kindly ask for assistance regarding the Failed connection test . [6] Object -> Object Cache Settings -> Object Cache -> Status LiteSpeed Cache Settings v4.4.5 PHP 8 in Apache WordPress 5.8.2 Memcached and Memcached PHP extension active. Following these instructions: https://docs.litespeedtech.com/lscache/lscwp/admin/#how-to-debug I have uploaded a PHP file on server, and Im getting this message: string(23) /path/to/memcached.sock int(0) bool(false) array(1) [0]=> array(3) [ host ]=> string(23) /path/to/memcached.sock [ port ]=> int(11211) [ type ]=> string(6) SOCKET What am I doing wrong? Many thanks! bool(false) this means the connection failed and you need to update the /path/to/memcached.sock to a real path instead of this placeholder path Sorry. Now I have modified the PHP file. Now the result is: string(49) /home/user/.applicationmanager/memcached.sock int(11211) array(1) [ /home/user/.applicationmanager/memcached.sock:11211 ]=> array(48) [ pid ]=> int(4860) [ uptime ]=> int(1197660) [ time ]=> int(1640015040) [ version ]=> string(6) 1.4.15 [ libevent ]=> string(13) 2.0.21-stable [ pointer_size ]=> int(64) [ rusage_user ]=> float(17.078069) [ rusage_system ]=> float(22.481684) [ curr_connections ]=> int(1) [ total_connections ]=> int(25) [ connection_structures ]=> int(2) [ reserved_fds ]=> int(20) [ cmd_get ]=> int(210) [ cmd_set ]=> int(63) [ cmd_flush ]=> int(0) [ cmd_touch ]=> int(0) [ get_hits ]=> int(182) [ get_misses ]=> int(28) [ delete_misses ]=> int(1) [ delete_hits ]=> int(3) [ incr_misses ]=> int(0) [ incr_hits ]=> int(0) [ decr_misses ]=> int(0) [ decr_hits ]=> int(0) [ cas_misses ]=> int(0) [ cas_hits ]=> int(0) [ cas_badval ]=> int(0) [ touch_hits ]=> int(0) [ touch_misses ]=> int(0) [ auth_cmds ]=> int(0) [ auth_errors ]=> int(0) [ bytes_read ]=> int(2792411) [ bytes_written ]=> int(18047702) [ limit_maxbytes ]=> int(67108864) [ accepting_conns ]=> int(1) [ listen_disabled_num ]=> int(0) [ threads ]=> int(4) [ conn_yields ]=> int(0) [ hash_power_level ]=> int(16) [ hash_bytes ]=> int(524288) [ hash_is_expanding ]=> int(0) [ bytes ]=> int(466934) [ curr_items ]=> int(19) [ total_items ]=> int(63) [ expired_unfetched ]=> int(0) [ evicted_unfetched ]=> int(0) [ evictions ]=> int(0) [ reclaimed ]=> int(0) array(1) [0]=> array(3) [ host ]=> string(49) /home/user/.applicationmanager/memcached.sock [ port ]=> int(11211) [ type ]=> string(6) SOCKET Why do I see in the backend the Failed connection test message? Many thanks. did you update the setting accordingly ? host to that /home/xxxx path , port to 0 This is my PHP: Where do I set port 0? In PHP? In WordPress? in your screenshot that you posted in first topic Ok. But the message hasnt changed? Any suggestion? host to that /home/xxxx path , port to 0 you must have missed this , the localhost is wrong , change it to that /home/xxxxxxxxx path you have Im afraid it doesnt work. What am I doing wrong? I dont see anything wrong , how was your PHP test performed ? in command line ? by browser ? By browser. please create a ticket by mail to support at litespeedtech.com with reference link to this topic we will investigate further Hello, After deactivating the plugin and reactivating again after a few hours, now I see Connection Test: Passed . My last screenshot shows the correct settings, at least, in my server. Thank you @CacheCrawler for your assistance!



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference