tp5中memcached的使用

1.安装memcached 

https://www.runoob.com/memcached/memcached-install.html

2.添加删除修改数据

https://baijiahao.baidu.com/s?id=1590107277975765293&wfr=spider&for=pc

telnet 127.0.0.1 11211

set runoob 0 900 5

hello

 

get runoob

 

add new_key 0 600 10

date_value

 

get new_key

 

replace mykey 0 900 7

kesgele

 

get mykey

 

delete mykey

 

 

3.在tp5中使用memcached

https://baijiahao.baidu.com/s?id=1590107277975765293&wfr=spider&for=pc

 

 

 

 

posted @ 2019-11-21 17:50  ymd666  阅读(1027)  评论(0编辑  收藏  举报