php7 install memcached extension

#download source code package from git 
$ git clone https://github.com/php-memcached-dev/php-memcached.git
$ cd php-memcached
$ git checkout php7    
#Branch php7 set up to track remote branch php7 from origin.
#Switched to a new branch 'php7'
$ /home/admin/local/php7/bin/phpize
$ ./configure --with-libmemcached-dir=/home/admin/local/libmemcached-0.53/ --with-php-config=/home/admin/local/php7/bin/php-config
  --disable-memcached-sasl

$make && make install

  

posted @ 2016-04-06 13:48  hao.ma  阅读(344)  评论(0编辑  收藏  举报