cd /root/php/packages
upoz 与 xdebug<2.9.4不兼容
cd /root/php/packages
wget https://pecl.php.net/get/uopz-6.1.2.tgz
tar xzf uopz-6.1.2.tgz && cd uopz-6.1.2
phpize && ./configure --enable-uopz && make && make install
cd /root/php/packages
wget https://pecl.php.net/get/runkit7-4.0.0a2.tgz
tar xzf runkit7-4.0.0a2.tgz && cd runkit7-4.0.0a2
phpize && ./configure --enable-runkit7 && make && make install
echo -e "[uopz]\nextension = uopz.so" >> /root/php/bin/php74/lib/php.ini
echo -e "[runkit7]\nextension = runkit7.so" >> /root/php/bin/php74/lib/php.ini
php -i | grep uopz
php -i | grep runkit7
pkill php-fpm | php-fpm -R
cd /root/php/packages
wget https://pecl.php.net/get/uopz-6.1.2.tgz
tar xzf uopz-6.1.2.tgz && cd uopz-6.1.2
phpize && ./configure --enable-uopz && make && make install
cd /root/php/packages
wget https://pecl.php.net/get/runkit7-4.0.0a2.tgz
tar xzf runkit7-4.0.0a2.tgz && cd runkit7-4.0.0a2
phpize && ./configure --enable-runkit7 && make && make install
echo -e "[uopz]\nextension = uopz.so" >> /root/php/bin/php74/lib/php.ini
echo -e "[runkit7]\nextension = runkit7.so" >> /root/php/bin/php74/lib/php.ini
php -i | grep uopz
php -i | grep runkit7
pkill php-fpm | php-fpm -R
PHP扩展安装与使用 — 赋予PHP更强大的魅力
此测试代码具有特殊性,结果仅作参考