doujiu8918 2013-06-18 13:33
浏览 33

当memcached函数失败时获取空响应(错误324)

I'm using Xampp for ubuntu and my ubuntu version is 12.04LTS I installed php5-memcached, libmemcached and memcached php extension memcached-2.1.0 with pecl.

Memcached runs with no problems and I can use Memcached class in PHP but when a memcached function fails I get error 324 from my browser(chrome). As an example I wrote this simple php script:

<?php
$m = new Memcached();
$m->addServer('127.0.0.1', 11211);
var_dump($m->add('key','value'));
var_dump($m->get('key'));
?>

output is -> bool(true) string(5) "value"

Then i run it again (simply refreshing page) i expect output to be -> bool(false) string(5) "value"

but instead of it i get error 324 no response from server. I've looked php_error_log, acces_log, error_log nothing was written.

Thank you in advance.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 测距传感器数据手册i2c
    • ¥15 RPA正常跑,cmd输入cookies跑不出来
    • ¥15 求帮我调试一下freefem代码
    • ¥15 matlab代码解决,怎么运行
    • ¥15 R语言Rstudio突然无法启动
    • ¥15 关于#matlab#的问题:提取2个图像的变量作为另外一个图像像元的移动量,计算新的位置创建新的图像并提取第二个图像的变量到新的图像
    • ¥15 改算法,照着压缩包里边,参考其他代码封装的格式 写到main函数里
    • ¥15 用windows做服务的同志有吗
    • ¥60 求一个简单的网页(标签-安全|关键词-上传)
    • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法