cannot find autoconf. please check your autoconf installation Xampp in CentOS
PhpCentosXamppMemcachedAutoconfPhp Problem Overview
Getting another error when configuring memcahed with php in XAMPP in CentOS
# /opt/lampp/bin/phpize
Configuring for:
PHP Api Version: 20131106
Zend Module Api No: 20131226
Zend Extension Api No: 220131226
> Cannot find autoconf. Please check your autoconf installation and > the > $PHP_AUTOCONF environment variable. Then, rerun this script.
How to resolved it ?
Php Solutions
Solution 1 - Php
MAC Users
You can do it easily using brew.
> brew install autoconf
Solution 2 - Php
I got here looking for an answer for docker when using Alpine linux this worked for me (I tried @Dimitros solution but did not work):
RUN apk --no-cache add pcre-dev ${PHPIZE_DEPS} \
&& pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& apk del pcre-dev ${PHPIZE_DEPS}
Solution 3 - Php
You need to install autoconf
For CentOS:
# yum install autoconf
for Ubuntu :
# apt-get install autoconf
for fedora 24-27:
# dnf install autoconf
Solution 4 - Php
For Alpine Linux the apk add
feature has (for cleanup) a concept of virtual packages using the --virtual
or -t
switch. An example use of this would be removing a group of build dependencies all at once:
apk add --no-cache --update --virtual buildDeps autoconf \
&& pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& apk del buildDeps
Reference: https://github.com/gliderlabs/docker-alpine/blob/master/docs/usage.md
Solution 5 - Php
For openSuSE:
zypper install autoconf
Solution 6 - Php
I resolved the problem by "yum install autoconf" on CentOS 7