https://github.com/php/php-src/commit/742a0106fefefe5ee1638271a1f59b69fb0ba015 --- a/configure.orig 2014-08-13 14:27:27.000000000 -0500 +++ b/configure 2017-11-18 15:34:26.000000000 -0600 @@ -3014,7 +3014,7 @@ echo $ac_n "(cached) $ac_c" 1>&6 else - bison_version_vars=`bison --version 2> /dev/null | grep 'GNU Bison' | cut -d ' ' -f 4 | $SED -e 's/\./ /' | tr -d a-z` + bison_version_vars=`$YACC --version 2> /dev/null | grep 'GNU Bison' | cut -d ' ' -f 4 | $SED -e 's/\./ /' | tr -d a-z` php_cv_bison_version=invalid if test -n "$bison_version_vars"; then set $bison_version_vars @@ -105210,7 +105210,7 @@ echo $ac_n "(cached) $ac_c" 1>&6 else - bison_version_vars=`bison --version 2> /dev/null | grep 'GNU Bison' | cut -d ' ' -f 4 | $SED -e 's/\./ /' | tr -d a-z` + bison_version_vars=`$YACC --version 2> /dev/null | grep 'GNU Bison' | cut -d ' ' -f 4 | $SED -e 's/\./ /' | tr -d a-z` php_cv_bison_version=invalid if test -n "$bison_version_vars"; then set $bison_version_vars