Centos 下使用 yum 命令快速安装 Memcached 与 php-memcached:
rpm qa|grep memcached //首先检查memcache是否已经安装完成
yum install memcached //(提示你是否确认安装输入y)检查完成后执行安装命令
yum install php-memcached //安装php的memcache的扩展
systemctl start httpd //开启apache
systemctl start memcached //开启memcached
网友评论