linux memcached 的安装

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

D:\phpStudy\php\php-5.3.29-nts\ext 加入memcached.dll扩展;
php.ini加入extension=php_memcache.dll; 查看window服务开启

上一篇:window环境rabbitMQ安装和php扩展安装


下一篇:Canvas的基本用法