CentOS PHP5.6 安装 memcached 扩展

第一步需要 安装 libmemcache

下载官网https://launchpad.net/libmemcached/+download

第二步下载 memcached 扩展

http://pecl.php.net/package-search.php?pkg_name=memcached&bool=AND&submit=Search

memcached 扩展编译

phpize

./configure –with-php-config=/usr/local/php/bin/php-config –enable-memcached –with-libmemcached-dir=/usr/local/libmemcached –disable-memcached-sasl

开启php.ini memcached.so 扩展即可

    原文作者:muction
    原文地址: https://www.jianshu.com/p/c64472158ed9
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞