douzhanjia0773 2014-01-19 09:58
浏览 94
已采纳

PHP memcached会话无法正常工作

I started to use memcached for storing session files, but Session doesn't work and apache sends response too slow. How can I solve the problem?

Modifications in php.in are:

;session.save_handler = files
session.save_handler = memcached
session.save_path = "tcp://127.0.0.1:11211?persistent=1&weight=1&timeout=1&retry_interval=15"
  • 写回答

2条回答 默认 最新

  • duanhuihui2705 2014-01-19 11:36
    关注

    I solved the problem, Solution is connection url without tcp:// ,so session.save_path should be

    session.save_path = "127.0.0.1:11211?persistent=1&weight=1&timeout=1&retry_interval=15"
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?