In PHP dynamic compilation, cannot find Autoconf appears.

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.