1. 程式人生 > >php7.1 擴充套件安裝memcache 擴充套件

php7.1 擴充套件安裝memcache 擴充套件

wget https://github.com/websupport-sk/pecl-memcache/archive/NON_BLOCKING_IO_php7.zip
unzip NON_BLOCKING_IO_php7.zip
cd pecl-memcache-NON_BLOCKING_IO_php7/
/usr/local/Cellar/[email protected]/7.1.20/bin/phpize 
./configure --enable-memcache --with-php-config=/usr/local/php71/bin/php-config
make 
make install
然後把extension = "memcache.so"  
新增到/usr/local/php71/etc/php.ini 結尾就行
最後重啟php-fpm