Home  >  Article  >  Backend Development  >  How to store session in memcached in php ci framework?

How to store session in memcached in php ci framework?

WBOY
WBOYOriginal
2016-07-06 13:51:46881browse

How to use memcached to store sessions in ci

Reply content:

How to use memcached to store sessions in ci

Modify php.ini
session.save_handler = memcache
session.save_path = tcp://127.0.0.1:11211;tcp://127.0.0.1:11212;tcp://127.0.0.1: 11213

It has nothing to do with the framework, just configure it according to the session storage method upstairs

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