session.save_handler = memcache; change server:port to fit your needs...session.save_path="tcp://server:port?persistent=1&weight=1&timeout=1&retry_interval=15"
以上就是配置PHP将session保存至memcache的配置了
如果安装的是扩展,那么就要改成
session.save_handler = memcached; change server:port to fit your needs...session.save_path="server:port"