Commit 37045181545 for php.net
commit 3704518154580db06687c631c1f201644785c80f
Author: Máté Kocsis <kocsismate@woohoolabs.com>
Date: Mon Jul 6 21:26:28 2026 +0200
ext/uri: Increase minimum uriparser version dependency (#22575)
uriparser 1.0.3 has to be released containing some missing symbols in order to be able to build PHP with the "--with-external-uriparser" option.
Closes https://github.com/php/php-src/issues/22553
diff --git a/ext/uri/config.m4 b/ext/uri/config.m4
index a518cf84b3b..dddf0c6e00b 100644
--- a/ext/uri/config.m4
+++ b/ext/uri/config.m4
@@ -34,7 +34,7 @@ if test "$PHP_EXTERNAL_URIPARSER" = "no"; then
$URIPARSER_DIR/src/UriSetScheme.c $URIPARSER_DIR/src/UriSetUserInfo.c $URIPARSER_DIR/src/UriShorten.c $URIPARSER_DIR/src/UriVersion.c"
URI_CFLAGS="-DURI_STATIC_BUILD"
else
- PKG_CHECK_MODULES([LIBURIPARSER], [liburiparser >= 1.0.0])
+ PKG_CHECK_MODULES([LIBURIPARSER], [liburiparser >= 1.0.3])
PHP_EVAL_LIBLINE([$LIBURIPARSER_LIBS])
PHP_EVAL_INCLINE([$LIBURIPARSER_CFLAGS])
fi