|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63843 can't use udp
Submitted: 2012-12-24 08:00 UTC Modified: 2021-03-25 16:45 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: 38184788 at qq dot com Assigned: cmb (profile)
Status: Closed Package: memcache (PECL)
PHP Version: 5.3.20 OS: debain
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
30 - 12 = ?
Subscribe to this entry?

 [2012-12-24 08:00 UTC] 38184788 at qq dot com
$b = new MemcachePool;
$startTime = microtime(true);

$d = $b->get("testKey");

the result is false 

and some error
SERVER_ERROR multi-packet request not supported

what problem?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-30 13:56 UTC] ultimate_tux at gmail dot com
I believe client side UDP support isn't already implemented yet!
 [2013-01-02 01:17 UTC] 38184788 at qq dot com
i use php memcache 3.0 to connect server memcached,it had support udp that i read the document
 [2013-01-04 02:18 UTC]
There is no UDP support from the php side. The memcached daemon does support udp. 
You can try pecl/memcached.
 [2013-01-04 03:39 UTC] 38184788 at qq dot com
i use memcached  2.1
$memcached = new Memcached();
$memcached->setOption(Memcached::OPT_BINARY_PROTOCOL, true);
$memcached->setOption(Memcached::OPT_USE_UDP, true);
$memcached->addServer('', 16222);

result :  not work a normal

but i find the request did't came to the server when use tcpdump trace
if use tcp all is normal
 [2021-03-25 16:45 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-03-25 16:45 UTC]
The official bug tracker for PECL/memcache is now at

So, if this is still an issue with either of the current memcache
versions (4 or 8), please file an issue there.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 20 12:01:29 2024 UTC