In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "PHP dynamic compilation appears Cannot find autoconf how to solve", in the daily operation, I believe that many people have doubts about how to solve the problem of PHP dynamic compilation Cannot find autoconf. The editor consulted all kinds of data and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubt that "PHP dynamic compilation appears Cannot find autoconf how to solve". Next, please follow the editor to study!
This paper describes in detail the solution to the emergence of Cannot find autoconf in PHP dynamic compilation. Share it with you for your reference. The specific methods are as follows:
After installing PHP, I want to dynamically compile PHP's memcache extension library
The copy code is as follows:
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 occurred while executing / usr/local/webserver/php/bin/phpize:
The copy code is as follows:
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable is set correctly and then rerun this script.
After a search on the Internet, I found that many people asked this question and picked a paragraph down:
The copy code is as follows:
# 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 & & 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 & & make install
If it is UBUNTU, it can be simpler:
The copy code is as follows:
Sudo apt-get install m4
Sudo apt-get install autoconf
Or directly:
The copy code is as follows:
Sudo apt-get install autoconf
Because autoconf depends on M4, it will be downloaded automatically to resolve this dependency.
At this point, the study on "PHP dynamic compilation appears how to solve Cannot find autoconf" is over. I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.