CentOS 7下编译 PHP 7.2 ,在进行配置时提示:
configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: none, min: 204, excluded: ).
需安装最新bison。
一、下载
wget http://ftp.gnu.org/gnu/bison/bison-3.0.4.tar.gz
其它版本(或最新)请参考:http://ftp.gnu.org/gnu/bison/
二、安装
tar -zxvf bison-*
cd bison-*
./configure
make && make install
SSH执行以上命令,解压安装即可。