定制 alez/memcached-sessions 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

alez/memcached-sessions

Composer 安装命令:

composer require alez/memcached-sessions

包简介

Session handler that use memcached

README 文档

README

Session handler for with Zend Framework 1. That handler allows you to use a memcached server as storage for your sessions.

how to install

composer require alez/memcached-sessions

how to use

Add to your application.ini resources.session.saveHandler.class = "MemcachedSessions_Handler" If you have your memcached server somewhere else but local machine add some options at your taste.

resources.session.saveHandler.options.lifetime = 1800;
resources.session.saveHandler.options.automatic_serialization = true;
resources.session.saveHandler.options.host = "127.0.0.1";
resources.session.saveHandler.options.port = 11211;
resources.session.saveHandler.options.persistent = true;
resources.session.saveHandler.options.compression = true;

These are by default.

统计信息

  • 总下载量: 18
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: bsd
  • 更新时间: 2015-11-03