--- configure.orig 2025-04-16 07:10:39 +++ configure 2025-04-16 18:17:45 @@ -13157,7 +13157,7 @@ printf %s "checking for PHP header files... " >&6; } case $PHP in *8.*) - PHPCONFIG=`echo "$PHP"|sed 's/8\...*$/-config&/'` ;; + PHPCONFIG=`echo "$PHP"|sed 's/\(8.*\)$/-config\1/'` ;; *) PHPCONFIG=$PHP-config ;; esac