在CentOS的XAMPP中配置用php实现的模件时会出现另一个错误
# /opt/lampp/bin/phpize
Configuring for:
PHP Api Version: 20131106
Zend Module Api No: 20131226
Zend Extension Api No: 220131226找不到autoconf。请检查您的autoconf安装和$PHP_AUTOCONF环境变量。然后,重新运行这个脚本。
如何解决这个问题?
发布于 2016-05-26 07:50:37
MAC用户
你可以很容易地使用brew。
brew install autoconf
发布于 2018-01-25 13:47:06
当我使用Alpine时,我在这里为docker寻找一个答案--这对我有效(我尝试了@Dimitros解决方案,但没有成功):
RUN apk --no-cache add pcre-dev ${PHPIZE_DEPS} \
&& pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& apk del pcre-dev ${PHPIZE_DEPS}发布于 2015-07-28 15:18:27
您需要安装autoconf
对于CentOS:
# yum install autoconf对于Ubuntu:
# apt-get install autoconf24-27岁:
# dnf install autoconfhttps://stackoverflow.com/questions/31583646
复制相似问题