PHP build notes - WARNING: This bison version is not supported for regeneration of the Zend/PHP pars

Posted 远行

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了PHP build notes - WARNING: This bison version is not supported for regeneration of the Zend/PHP pars相关的知识,希望对你有一定的参考价值。

 WARNING: This bison version is not supported for regeneration of the Zend/php parsers (found: 3.0, min: 204, excluded: 3.0).

 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

 error:

~/php-src# git checkout PHP-5.6
...
checking for bison... bison -y 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). checking for re2c... re2c checking for re2c version... 0.16 (ok) configure: error: bison is required to build PHP/Zend when building a GIT checkout!

 slove:

wget http://ftp.gnu.org/gnu/bison/bison-2.4.1.tar.gz
tar -zxvf bison-2.4.1.tar.gz
cd bison-2.4.1/
./configure
make
make install

 

以上是关于PHP build notes - WARNING: This bison version is not supported for regeneration of the Zend/PHP pars的主要内容,如果未能解决你的问题,请参考以下文章

spring 以Ant Build方式运行build.xml文件,报warning: 'includeantruntime' was not set, defaulting to bu

关于warning: Clock skew detected. Your build may be incomplete. 的解决方法

解决warning: Clock skew detected. Your build may be incomplete

[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platfor

maven工程中警告[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is

Android studio 使用flutter插件 运行第一个flutter项目 报错 Warning: License for package Android SDK Build-Tools 28