Hey,

I know I probably shouldn't post about php-memcached here, but I'm 
struggling to find anyone who can help. 

Basically, I have Memcached, php and php-memcached installed. All are the 
latest versions, compiled manually running under Mac OS 10.7.4. When I call 
set it doesn't actually seem to be setting. 

PHP Code:

  $m = new Memcached();
  $m->addServer('localhost', 11211);
  $m->set('key', 'value');

Output when running "memcached -vvv"

<31 new auto-negotiating client connection
31: going from conn_new_cmd to conn_waiting
31: going from conn_waiting to conn_read
31: going from conn_read to conn_parse_cmd
31: Client using the ascii protocol
<31 quit
31: going from conn_parse_cmd to conn_closing
<31 connection closed.

However, when I use telnet:

Monkey:~ aaron$ telnet localhost 11211
Escape character is '^]'.
set key 0 0 5
value
STORED

I get in Memcached:

<31 new auto-negotiating client connection
31: going from conn_new_cmd to conn_waiting
31: going from conn_waiting to conn_read
31: going from conn_read to conn_parse_cmd
31: Client using the ascii protocol
<31 set key 0 0 5
31: going from conn_parse_cmd to conn_nread
> NOT FOUND key
>31 STORED
31: going from conn_nread to conn_write
31: going from conn_write to conn_new_cmd
31: going from conn_new_cmd to conn_waiting
31: going from conn_waiting to conn_read

Has anyone else experienced this or able to offer any assistance?

Thank you,

Aaron

Reply via email to