configure: Check for php8.2 too

This commit is contained in:
Olly Betts 2023-01-18 16:11:11 +13:00
commit 747651c7e4

View file

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