https://github.com/php/php-src/commit/742a0106fefefe5ee1638271a1f59b69fb0ba015 --- a/configure.orig 2017-11-18 15:29:21.000000000 -0600 +++ b/configure 2017-11-18 15:34:05.000000000 -0600 @@ -3011,7 +3011,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 @@ -107382,7 +107382,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