日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

PHP动态编译出现Cannot find autoconf

發布時間:2023/11/27 42 豆豆
生活随笔 收集整理的這篇文章主要介紹了 PHP动态编译出现Cannot find autoconf 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

在安裝完PHP后,想動態編譯PHP的memcache擴展庫

cd memcache-2.2.5/
/usr/local/webserver/php/bin/phpize
./configure --with-php-config=/usr/local/webserver/php/bin/php-config

但是執行/usr/local/webserver/php/bin/phpize時出現錯誤:

?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.
???

在網上搜索一通,發現這個問題提的人還挺多,摘了一段下來:

# 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

總結

以上是生活随笔為你收集整理的PHP动态编译出现Cannot find autoconf的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。