pecl/memcache (http://pecl.php.net/package/memcache/) 2.2.5 does not
support udp. The beta's do, but they're still buggy. No work has been
done on this module for ~1 year. pecl/memcached (http://pecl.php.net/
package/memcached/) is more stable and has more features, but has not
implemented udp yet.

Nick

On Feb 9, 5:40 am, Artur Ejsmont <[email protected]> wrote:
> Hi there,
>
> I cant find sufficient documentation for the udp support and i am a
> bit confused.
>
> Is it true that get command is not supported in udp mode or is it just
> old versions?
>
> I run 1.4.4 on debian (memcached -u root -vv) and connect to it from
> command line like this:
>
> echo $'stats\r\nquit\r\n' | nc -u localhost 11211
>
> i get error like this in memcached output
>
> 29 SERVER_ERROR multi-packet request not supported
>
> I can not force php to use memcache as session handler, im sniffing my
> tcp and udp traffic on 11211 in/out and only see tcp connections. I
> have set (memcache 2.2.5 module)
>
> session.save_handler = memcache
> session.save_path = "udp://x.x.x.x:11211"
>
> and its still connection via tcp even that i can see udp in the
> phpinfo output.
>
> i thought this should work the same way as tcp just with no
> guarantees.
>
> Could anyone please point me to some documentation that could help me
> get it working?
>
> thanks
>
> artur

Reply via email to