Home  >  Article  >  Backend Development  >  memcached problem

memcached problem

WBOY
WBOYOriginal
2016-07-06 13:54:01932browse

ini_set("session.save_handler","memcached")
ini_set("session.save_handler","memcache")
What is the difference between the two?
I installed memcache locally Extensions can only use this ini_set("session.save_handler","memcache")

Reply content:

ini_set("session.save_handler","memcached")
ini_set("session.save_handler","memcache")
What is the difference between the two?
I installed memcache locally Extensions can only use this ini_set("session.save_handler","memcache")

Two different versions of php's memcached client. memcache is the pecl extension library version; memcached is the libmemcached version.

PHP has two extensions to connect to the memcahce service: memcahe and memcached
http://www.cnblogs.com/scotoma/archive/2011/02/15/1955573.html

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