centos 6 memcached php 5.3.x ius repo

 

yum install -y memcached
 
yum install php53u-pecl-memcached
 
yum install php53u-pecl-memcache
 
service memcached start
 
chkconfig memcached on
 
测试是否安装成功
 
ps aux|grep memcached 
 
php.ini
 
添加 
 
extension=”memcache.so”  
 
修改/etc/init.d/memcached文件
 
CACHESIZE=1024
 
service memcached restart
 
/etc/init.d/httpd restart