cd /root/php/packages
cd /root/php/packages
wget https://pecl.php.net/get/yac-2.3.0.tgz
tar xzf yac-2.3.0.tgz && cd yac-2.3.0
phpize && ./configure --enable-yac && make && make install
echo -e "[yac]\nextension = yac.so" >> /root/php/bin/php74/lib/php.ini
php -i | grep yac
pkill php-fpm | php-fpm -R
cd /root/php/packages
wget https://pecl.php.net/get/yac-2.3.0.tgz
tar xzf yac-2.3.0.tgz && cd yac-2.3.0
phpize && ./configure --enable-yac && make && make install
echo -e "[yac]\nextension = yac.so" >> /root/php/bin/php74/lib/php.ini
php -i | grep yac
pkill php-fpm | php-fpm -R
需个人测试的请联系博主,索要基础性能测试代码
PHP扩展安装与使用 — 赋予PHP更强大的魅力
yac 官方文档
上一节:readline 命令行交互插件
下一节:zookeeper - 分布式协调服务