码迷,mamicode.com
首页 > Web开发 > 详细

Linux下安装memcache PHP扩展

时间:2016-07-09 20:50:10      阅读:131      评论:0      收藏:0      [点我收藏+]

标签:

[root@centos memcache-2.2.4]# wget http://pecl.php.net/get/memcache-2.2.4.tgz

[root@centos memcache-2.2.4]# tar -zxvf memcache-2.2.4.tgz 

[root@centos memcache-2.2.4]# cd memcache-2.2.4

[root@centos memcache-2.2.4]# phpize

[root@centos memcache-2.2.4]# ./configure --with-php-config=/usr/local/php/bin/php-config

[root@centos memcache-2.2.4]# make && make install

//php.ini 添加memcache扩展
extension=/usr/local/php/lib/php/extensions/no-debug-non-zts-20121212/memcache.so

  技术分享

Linux下安装memcache PHP扩展

标签:

原文地址:http://www.cnblogs.com/justphp/p/5656442.html

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