码迷,mamicode.com
首页 > 系统相关 > 详细

17 nginx连接memcached

时间:2015-02-03 18:43:10      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:

一:配置php扩展memcached


所需要的软件包。

libmemcached-1.0.2.tar.gz : baidu.com

memcache-2.2.7.tgz :  wget http://pecl.php.net/get/memcached-1.0.2.tgz

----------------------------------------------------------- tar -zxvf libmemcached-1.0.2.tar.gz cd libmemcached-1.0.2 ./configure -prefix=/usr/local/libmemcached --with-memcached=/usr/local/memcached/bin/memcached/ make && make install ------------------------------------------------------------ tar -zxvf memcache-2.2.7.tgz cd memcache-2.2.7 /usr/bin/phpize ./configure --with-php-config=/usr/bin/php-config --with-libmemcached-dir=/usr/local/libmemcached/

二:nginx配置













 

17 nginx连接memcached

标签:

原文地址:http://www.cnblogs.com/hgj123/p/4270431.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!