标签:
. 安装libmemached
5. 安装php-devel
6. 安装PHP Memcached扩展
wget http://pecl.php.net/get/memcached-2.1.0.tgz
tar -zxvf memcached-2.1.0.tgz
cd memcached-2.1.0
/usr/local/php/bin/phpize
./configure
-enable-memcached -with-php-config=/usr/local/php/bin/php-config
-with-zlib-dir -with-libmemcached-dir=/usr/local/libmemcached
-prefix=/usr/local/phpmemcached
make && make install
标签:
原文地址:http://www.cnblogs.com/agang-php/p/4590678.html