|  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: 2013-01-04 03:39 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: 38184788 at qq dot com Assigned:
Status: Open Package: memcache (PECL)
PHP Version: 5.3.20 OS: debain
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: 38184788 at qq dot com
New email:
PHP Version: OS:


 [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
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Oct 21 05:01:23 2020 UTC