PHP dynamic compilation of Cannotfindautoconf after installing PHP, want to dynamically compile PHP memcache extension library cdmemcache-2.2.5usrlocalwebserverphpbinphpize.configure -- with-php-configusrlocalwebserverphpbinphp-config but execute usrlocalwebserverphpb
PHP dynamic compilation appears Cannot find autoconf after installing PHP, want to dynamically compile PHP memcache extension library cd memcache-2.2.5/usr/local/webserver/php/bin/phpize. /configure -- with-php-config =/usr/local/webserver/php/bin/php-config but execute/usr/local/webserver/php/B
In PHP dynamic compilation, Cannot find autoconf appears.
After installing PHP, you want to dynamically compile the memcache extension library of PHP.
Cd memcache-2.2.5/
/Usr/local/webserver/php/bin/phpize
./Configure -- with-php-config =/usr/local/webserver/php/bin/php-config
However, an error occurs when/usr/local/webserver/php/bin/phpize is executed:
Processing ing: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 Cannot findAutoconf. Please check your autoconf installation and$ PHP_AUTOCONFEnvironment variable is set correctly and then rerun this script. |
I searched the internet and found that there were a lot of people asking this question. I picked it up for a while:
# Wget http://ftp.gnu.org/gnu/m4/m4-1.4.9.tar.gz
# Tar-zvxf m4-1.4.9.tar.gz
# Cd m4-1.4.9/
#./Configure & make install
# Cd ../
# Wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.62.tar.gz
# Tar-zvxf autoconf-2.62.tar.gz
# Cd autoconf-2.62/
#./Configure & make install