php pecl memcached,php – 安装PECL Memcached错误
我按照以下步驟在我的Centos Server中安裝PECL memcached,總是出錯.
第一.安裝libmemcached
cd /opt
wget http://launchpad.net/libmemcached/1.0/0.40a/+download/libmemcached-0.40.tar.gz
tar -xzvf libmemcached-0.40.tar.gz
cd libmemcached-0.40
./configure
make
make install
其次,安裝PECL memcached
cd /opt
pecl download memcached-1.0.2
tar zxvf memcached-1.0.2.tgz
cd memcached-1.0.2
phpize
./configure --with-libmemcached-dir=/opt/libmemcached-0.40/libmemcached
我總是有錯誤
checking for memcached igbinary support... disabled
configure: error: Can't find libmemcached headers under "/opt/libmemcached-0.40/libmemcached"
實際上memcached.h文件位于/opt/libmemcached-0.40/libmemcached direcotry中.
請指教.
總結
以上是生活随笔為你收集整理的php pecl memcached,php – 安装PECL Memcached错误的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python包接口,Typetalk聊天
- 下一篇: php 不同权限登录界面,PHP中如何实