【问题标题】:Compile PHP - bison version?编译 PHP - 野牛版本?
【发布时间】:2016-04-15 15:50:02
【问题描述】:
checking for bison version... invalid
configure: WARNING: This bison version is not
           supported for regeneration of the Zend/PHP parsers
           (found: 3.0, min: 204, excluded: 3.0).

试过安装PHP7和PHP5.6,我用的是Debian 8.4/Jessie,需要降级吗?

【问题讨论】:

    标签: php debian


    【解决方案1】:

    以下是PHP build notes 中列出的要求:

    bison:
    PHP 5.4: 1.28, 1.35, 1.75, 1.875, 2.0, 2.1, 2.2, 2.3, 2.4, 2.4.1, 2.4.2, 2.4.3, 2.5, 2.5.1, 2.6, 2.6.1, 2.6.2, 2.6.4
    PHP 5.5: 2.4, 2.4.1, 2.4.2, 2.4.3, 2.5, 2.5.1, 2.6, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.7
    PHP 5.6: 2.4 or later, excluding 3.0 only (3.0.1 and later are OK)
    PHP 7.0: 2.4 or later
    

    【讨论】:

    • 感谢您查找版本。我的 bison --version 是 bison (GNU Bison) 3.0.2,它不适用于 PHP 7 和 PHP 5.6。
    • 嗯,。我不会提供太多帮助,因为我已经很久没有自己构建 PHP 了,但也许检查 dotdeb 的 repo 可能会有所帮助:github.com/gplessis/dotdeb-php
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-04-23
    • 1970-01-01
    • 2019-10-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多