mac 安装扩展$PHP_AUTOCONF environment variable. Then, rerun this script.

brew install autoconf

 

brew link autoconf

 

/usr/local/Cellar/php@8.0/8.0.30/bin/phpize --with-php-config=/usr/local/Cellar/php@8.0/8.0.30/bin/php-config

./configure --with-php-config=/usr/local/Cellar/php@8.0/8.0.30/bin/php-config 
make && make install

Build complete.
Don't forget to run 'make test'.

Installing shared extensions: /usr/local/Cellar/php@8.0/8.0.30/pecl/20200930/

本文由 我爱PHP169 作者:admin 发表,其版权均为 我爱PHP169 所有,文章内容系作者个人观点,不代表 我爱PHP169 对观点赞同或支持。如需转载,请注明文章来源。

发表回复