PHP7.X安装memcache扩展

风之舞 2024-01-12 10:35:31 3
php  linux 
简介: PHP7.X安装memcache扩展

wget —no-check-certificate -O memcache.zip https://github.com/websupport-sk/pecl-memcache/archive/NON_BLOCKING_IO_php7.zip
unzip memcache.zip
cd pecl-memcache-NON_BLOCKING_IO_php7
/home/service/php/bin/phpize
./configure —with-php-config=/home/service/php/bin/php-config —with-iconv-dir=/usr/local
make && make install