Portal Home > Knowledgebase > Articles Database > Memcache Client
Memcache Client
Posted by fooslinux, 12-23-2012, 11:50 AM |
Hello all,
i installed Memcached Server on Cpanel Server which used LiteSpeed yesterday and when i ran netstat command i see 11211 ports are listen:
but for testing correct working that, i insert below code in memcache-test.php and open this file with url:
and then we got this error:
its a part of our phpinfo page:
also its result of memcached-tool command:
i think this issue is for Memcache Client.
please help me to solve this problem.
Last edited by fooslinux; 12-23-2012 at 12:00 PM.
|
Posted by bookstack, 12-23-2012, 03:27 PM |
Though I am not an expert of php, it is quite obvious that you are trying to query the memcache first, if cache misses, you go through the regular route by calling get_userinfo() and set the key in memcache.
You must implement get_userinfo() by yourself, either read from database, or from /dev/null :-)
|
Posted by fooslinux, 12-23-2012, 08:09 PM |
how can i check Memcache Client is working fine on my litespeed and php server?
its a part of our phpinfo page:
can you please tel me Memcache Client is correct configure with this info?
|
Add to Favourites Print this Article
Also Read