欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

linux-memcache安装及memcached memcache扩展

程序员文章站 2022-07-04 11:19:11
linux memcached安装yum -y install libevent libevent-deve yum list memcached yum -y install memcached memcached -h systemctl enable memcached.service vim ......

linux memcached安装
yum -y install libevent libevent-deve

yum list memcached

yum -y install memcached

memcached -h

systemctl enable memcached.service

vim /etc/sysconfig/memcached

memcached -d -m 1024 -u root -p 11211

#####################################

yum -y install telnet-server

yum -y install telnet

memcached-tool 127.0.0.1:11211 stats

#####################################
php memcache -h 扩展
yum search memcache
yum -y install php56w-pecl-memcache php56w-pecl-memcached