时间:2021-07-01 10:21:17 帮助过:3人阅读
1,到官方去下载
2,
wget --no-check-certificate https://github.com/ideawu/ssdb/archive/master.zip unzip master cd ssdb-master make # optional, install ssdb in /usr/local/ssdb sudo make install
# start master ./ssdb-server ssdb.conf # or start as daemon ./ssdb-server -d ssdb.conf
# 启动 ssdb 命令行
./ssdb-cli -p 8888
3,在官网找到php客户端,然后按照php模块的方式安装ssdb的php客户端
<?php $ssdb = new SimpleSSDB(‘127.0.0.1‘, 8888); $resp = $ssdb->set(‘key‘, ‘123‘); $resp = $ssdb->get(‘key‘); echo $resp; // output: 123
SSDB的安装与php连接
标签: