Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/components/com_k2/models/item.php on line 1198

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/components/com_k2/models/item.php on line 763

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
Last modified onSunday, 23 December 2012 14:47

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169

Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
back to top