Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cannot find autoconf. please check your autoconf installation Xampp in CentOS

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 ?

like image 705
Lakshmikandan Avatar asked Jul 23 '15 09:07

Lakshmikandan


2 Answers

MAC Users

You can do it easily using brew.

brew install autoconf

like image 153
RASEL RANA Avatar answered Oct 16 '22 04:10

RASEL RANA


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} 
like image 42
lloiacono Avatar answered Oct 16 '22 04:10

lloiacono