Recently i tried to install development version of lampp. While running phpize command during the installation, i got "Cannot find autoconf Please check your autoconf installation" and the $PHP_AUTOCONF environment variable.


Configuring for:

PHP Api Version:         20090626

Zend Module Api No:      20090626

Zend Extension Api No:   220090626

Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script.

This error usually occurs when autoconf command location not stored in $PHP_AUTOCONF variable or "autoconf" command not installed. If you already installed autoconf and still getting this error, you may need to find and map the path of autoconf in $PHP_AUTOCONF variable.

Find autoconf path and Add it to PHP_AUTOCONF variable:
bash-.3$ whereis autoconf                                                                                                 autoconf: /usr/bin/autoconf /usr/share/autoconf /usr/share/man/man1/autoconf.1.gz
export PHP_AUTOCONF=$PHP_AUTOCONF:/usr/bin/autoconf

( or )

Install autoconf

RedHat Base:
yum install autoconf

Debian Base:
apt-get install autoconf


Comments (0)
Leave a Comment

loader Posting your comment...