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.0006403016{main}( ).../index.php:0
20.04711320576Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.04711320576Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.36942978696Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.37043003056Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.37203058384Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.37213075440require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.38183219528K2ControllerItem->execute( ).../k2.php:64
90.38183219528K2ControllerItem->display( ).../BaseController.php:710
100.39183488608K2ControllerItem->display( ).../item.php:78
110.39183488608K2ControllerItem->display( ).../controller.php:19
120.39343507128Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.39623527544K2ViewItem->display( ).../ViewController.php:102
140.48704039272K2ViewItem->display( ).../view.html.php:742
150.48704039272K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.49134213992include( '/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.0006403016{main}( ).../index.php:0
20.04711320576Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.04711320576Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.36942978696Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.37043003056Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.37203058384Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.37213075440require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.38183219528K2ControllerItem->execute( ).../k2.php:64
90.38183219528K2ControllerItem->display( ).../BaseController.php:710
100.39183488608K2ControllerItem->display( ).../item.php:78
110.39183488608K2ControllerItem->display( ).../controller.php:19
120.39343507128Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.39623527544K2ViewItem->display( ).../ViewController.php:102
140.48704039272K2ViewItem->display( ).../view.html.php:742
150.48704039272K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.49134213992include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top