作者:玲子0909_366 | 来源:互联网 | 2023-09-16 16:21
第一步需要安装libmemcache下载官网https:launchpad.netlibmemcached+download第二步下载memcached扩展http:pecl.ph
第一步需要 安装 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 扩展即可