[php] configure: Check for php8.1 binary

This commit is contained in:
Olly Betts 2021-12-08 13:09:43 +13:00
commit c60507ef70

View file

@ -2082,7 +2082,7 @@ if test x"${PHPBIN}" = xno; then
PHP=
else
if test "x$PHPBIN" = xyes; then
AC_CHECK_PROGS(PHP, [php8.0 php7.4 php7.3 php7.2 php7.1 php7.0 php])
AC_CHECK_PROGS(PHP, [php8.1 php8.0 php7.4 php7.3 php7.2 php7.1 php7.0 php])
else
PHP=$PHPBIN
fi