php session sharing to memcache

不言
Release: 2023-03-24 19:24:02
Original
983 people have browsed it

The content of this article is about sharing php session to memcache. It has certain reference value. Now I share it with everyone. Friends in need can refer to it.

Add

in php.ini

;The settings are saved in memcache

session.save_handler = memcache

;Set the memcache machine ip and port

session.save_path = "100.100.100.100:11211"

The above is the detailed content of php session sharing to memcache. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template