当前位置: > CentOS > CentOS教程 >

CentOS 安装memcached php扩展

时间:2017-05-27 16:15来源:linux.it.net.cn 作者:IT
wget https://launchpad.NET/libmemcached/1.0/1.0.16/+download/libmemcached-1.0.16.tar.gz

tar -zxvf libmemcached-1.0.16.tar.gz
cd libmemcached-1.0.16
./configure --prefix=/usr/local/libmemcached --with-memcached
make && make install


wget http://pecl.php.net/get/memcached-2.1.0.tgz
tar -xf memcached-2.1.0.tgz
cd memcached-2.1.0

/usr/local/php/bin/phpize
./configure --prefix=/usr/local/phpmemcached --enable-memcached --with-php-config=/usr/local/php/bin/php-config --with-libmemcached-dir=/usr/local/libmemcached   
make && make install  (责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容