centos 5.7 memcached php

centos 5.7

memcached

 

 

 

 

先安装 库

yum install libevent

http://download.fedora.redhat.com/pub/epel/5/x86_64/

wget http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

 

rpm -Uvh epel-release-5-4.noarch.rpm

yum install memcached

 

停止 epel repo

/etc/yum.repos.d

epel 文件删除

或者

rpm 卸载

rpm -e epel-release-5-4.noarch

 

yum install php-memcache

启动memcached
/sbin/service memcached start

 

 

 

Last modified onSunday, 14 October 2012 04:07

( ! ) 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
Call Stack
#TimeMemoryFunctionLocation
10.0014413192{main}( ).../index.php:0
20.09484263112Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09484263112Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.319611454128Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.320211478408Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.320911533736Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.321111561136require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.328611960768K2ControllerItem->execute( ).../k2.php:64
90.328611960768K2ControllerItem->display( ).../BaseController.php:710
100.337712611472K2ControllerItem->display( ).../item.php:78
110.337712611472K2ControllerItem->display( ).../controller.php:19
120.343012982512Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.344713002880K2ViewItem->display( ).../ViewController.php:102
140.427715796536K2ViewItem->display( ).../view.html.php:742
150.427715796536K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.431215969472include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701

( ! ) 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
Call Stack
#TimeMemoryFunctionLocation
10.0014413192{main}( ).../index.php:0
20.09484263112Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09484263112Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.319611454128Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.320211478408Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.320911533736Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.321111561136require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.328611960768K2ControllerItem->execute( ).../k2.php:64
90.328611960768K2ControllerItem->display( ).../BaseController.php:710
100.337712611472K2ControllerItem->display( ).../item.php:78
110.337712611472K2ControllerItem->display( ).../controller.php:19
120.343012982512Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.344713002880K2ViewItem->display( ).../ViewController.php:102
140.427715796536K2ViewItem->display( ).../view.html.php:742
150.427715796536K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.431215969472include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top