https://pecl.php.net/get/memcache-3.0.8.tgz
wget https://pecl.php.net/get/memcache-3.0.8.tgz
gzip -d memcache-3.0.8.tgz
tar xvf memcache-3.0.8.tar
cd memcache-3.0.8
/www/wdlinux/php/bin/phpize
./configure --enable-memcache --with-php-config=/www/wdlinux/php/bin/php-config --with-zlib-dir
make
make install
9. 提示:Installing shared extensions: /data/apps/php/lib/php/extensions/no-debug-non-zts-*/
10. vi /PHP安装目录/etc/php.ini
11. 增加行extension=memcache.so