• 技术文章 >php教程 >php手册

    PHP动态编译出现Cannot find autoconf 动态编译PHP的memcache扩

    2016-06-06 19:53:36原创522

    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/b

    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
    声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
    上一篇:Linux 安装 php 下一篇:PHP中刷新输出缓冲详解
    Web大前端开发直播班

    相关文章推荐

    • 在WAS CE上运行PHP• Mysql和网页显示乱码解决方法集锦• php.ini 中文版• PHP数据库开发知多少• 刷新PHP缓冲区为你的站点加速
    新人一分购

    全部评论我要评论

  • 取消发布评论发送
  • 1/1

    PHP中文网