Home  >  Article  >  Backend Development  >  有做discuz bbs session存入memcache的吗

有做discuz bbs session存入memcache的吗

WBOY
WBOYOriginal
2016-06-23 14:04:57912browse

如题
如果有请传授经验,省的在那儿吭哧吭哧的看代码了


回复讨论(解决方案)

.htaccess 中加入
php_value session.save_handler "memcache"
php_value session.save_path  "tcp://127.0.0.1:11211"

就将 session存入memcache 了
如果你还要自己对 session 做什么小动作,那就需要自己写代码了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn