Skip to content
Prev Previous commit
Next Next commit
Bump PHP requirement in config.m4
  • Loading branch information
alcaeus committed Sep 6, 2024
commit 5a6710e9bf88f8cc6fe5c824c94c4414908838ea
4 changes: 2 additions & 2 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ if test "$PHP_MONGODB" != "no"; then

AC_MSG_RESULT($PHP_MONGODB_PHP_VERSION)

if test "$PHP_MONGODB_PHP_VERSION_ID" -lt "70400"; then
AC_MSG_ERROR([not supported. Need a PHP version >= 7.4.0 (found $PHP_MONGODB_PHP_VERSION)])
if test "$PHP_MONGODB_PHP_VERSION_ID" -lt "80100"; then
AC_MSG_ERROR([not supported. Need a PHP version >= 8.1.0 (found $PHP_MONGODB_PHP_VERSION)])
fi

PHP_MONGODB_STD_CFLAGS=""
Expand Down