php memcached扩展 安装笔记
2014-05-27 10:44
429 查看
php memcached扩展 安装笔记
wget http://download.tangent.org/libmemcached-0.48.tar.gz
tar zxf libmemcached-0.48.tar.gz
cd libmemcached-0.48
./configure --prefix=/usr/local/libmemcached --with-memcached
make
make install
wget http://pecl.php.net/get/memcached-1.0.2.tgz
tar zxf memcached-1.0.2.tgz
cd memcached-1.0.2
/usr/local/php/bin/phpize
./configure --enable-memcached --with-php-config=/usr/local/php/bin/php-config --with-libmemcached-dir=/usr/local/libmemcached
make
make install
安装成功提示:
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/
在php.ini中加入
extension=memcached.so
完成
另:
在安装libmemcached时,如果只用./configure,可能会提示:
checking for memcached… no
configure: error: “could not find memcached binary”
wget http://download.tangent.org/libmemcached-0.48.tar.gz
tar zxf libmemcached-0.48.tar.gz
cd libmemcached-0.48
./configure --prefix=/usr/local/libmemcached --with-memcached
make
make install
wget http://pecl.php.net/get/memcached-1.0.2.tgz
tar zxf memcached-1.0.2.tgz
cd memcached-1.0.2
/usr/local/php/bin/phpize
./configure --enable-memcached --with-php-config=/usr/local/php/bin/php-config --with-libmemcached-dir=/usr/local/libmemcached
make
make install
安装成功提示:
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/
在php.ini中加入
extension=memcached.so
完成
另:
在安装libmemcached时,如果只用./configure,可能会提示:
checking for memcached… no
configure: error: “could not find memcached binary”
相关文章推荐
- PHP安装memcached扩展笔记
- PHP安装memcached扩展笔记
- php中安装memcached扩展(佚名)
- [centos 6.3]php客户端memcached扩展安装
- 安装Memcached和Memcached PHP扩展
- Debian服务器编译安装Memcached及PHP扩展
- PHP Memcached扩展安装
- Redhat6.2下安装 nginx php mysql memcached mongoDB及相关扩展
- wincodws下php 安装memcached扩展
- Centos-php_memcached扩展安装
- FreeBSD学习笔记23-安装PHP扩展
- memcached、php-memcache安装笔记
- ubuntu+php5-fpm 下安装 memcached PHP扩展
- CentOS 安装memcached php扩展
- php中安装memcached扩展
- mac os lion 编译安装php memcached 扩展
- centos 5.7 安装PHP扩展memcached memcache redis mongo
- CentOS 安装 Redis 和 php redis.so 扩展笔记
- 基于libmemcached,php扩展memcached的安装
- centos系统为php安装memcached扩展步骤