top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Cannot store values into memcache-PHP

+2 votes
281 views

When I'm running PHP+memcache, I cannot store values into memcache. My PHP version is 5.4.12 and memcache version is 3.0.8

I am setting ini_set('display_errors', true); and error_reporting(E_ALL); and getting the notice:

Notice: MemcachePool::set(): Server 127.0.0.1 (tcp 11211, udp 0) failed
with: Network timeout (0) in xxx/test/my_test.php
on line XX

and when I try to use the "telnet 127.0.0.1 11211". It show like this:

$ telnet 127.0.0.1 11211
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
stats

there's no any response... Does anyone have any idea...

posted May 20, 2014 by Jai Prakash

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+2 votes

Wanted to know how QueryHome is using memcached with PHP and mysql?

+5 votes

I Know that we can always fetch from one database server and rewrite it to another. But what is the simplest way to do this?

+1 vote

The concepts of the two seem very similar. How do the two compare and contrast? In simple terms, what applications are best for each?

+1 vote

Getting the following two error -
Warning:session_start() : cannot send session cookie - headers already sent by(output started at.......)
Warning:session_start() : cannot send session cache limiter - headers already sent by(output started at.......)

...