centos 6 memcached php 5.3.x ius repo
- font size decrease font size increase font size
- Print Email
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 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0019 | 412280 | {main}( ) | .../index.php:0 |
2 | 0.1148 | 4262248 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1148 | 4262248 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.5043 | 11453168 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.5049 | 11477496 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.5058 | 11532824 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.5061 | 11560224 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.5161 | 11959856 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.5161 | 11959856 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.5307 | 12610560 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.5307 | 12610560 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.5351 | 12981600 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.5372 | 13001968 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.6259 | 15781888 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.6259 | 15781888 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.6309 | 15954824 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in CentOS 6
- Read 1746 times
( ! ) 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0019 | 412280 | {main}( ) | .../index.php:0 |
2 | 0.1148 | 4262248 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1148 | 4262248 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.5043 | 11453168 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.5049 | 11477496 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.5058 | 11532824 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.5061 | 11560224 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.5161 | 11959856 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.5161 | 11959856 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.5307 | 12610560 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.5307 | 12610560 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.5351 | 12981600 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.5372 | 13001968 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.6259 | 15781888 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.6259 | 15781888 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.6309 | 15954824 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |