Skip to content

Commit 8cc639e

Browse files
morrisonleviclaude
andcommitted
build: pin sqlsrv and grpc PECL versions for PHP compatibility
- sqlsrv 5.13.0 raised minimum to PHP 8.3; pin PHP 8.1-8.2 to 5.12.0 - grpc 1.80.0 uses EG(max_allowed_stack_size) gated on PHP_VERSION_ID>=80300 but the field is absent in ASan builds because the ZEND_CHECK_STACK_LIMIT autoconf test cannot execute sanitized binaries during configure; pin to 1.78.0 which predates that change Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 33b0807 commit 8cc639e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

dockerfiles/ci/bookworm/build-extensions.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ elif [[ $PHP_VERSION_ID -le 74 ]]; then
6464
SQLSRV_VERSION=-5.8.0
6565
elif [[ $PHP_VERSION_ID -le 80 ]]; then
6666
SQLSRV_VERSION=-5.11.0
67+
elif [[ $PHP_VERSION_ID -le 82 ]]; then
68+
SQLSRV_VERSION=-5.12.0
6769
fi
6870

6971
HOST_ARCH=$(if [[ $(file $(readlink -f $(which php))) == *aarch64* ]]; then echo "aarch64"; else echo "x86_64"; fi)
@@ -195,7 +197,7 @@ else
195197

196198
# ext-grpc is needed for google spanner
197199
if [[ $PHP_VERSION_ID -ge 80 && $PHP_VERSION_ID -lt 85 ]]; then
198-
pecl install grpc;
200+
pecl install grpc-1.78.0;
199201
# avoid installing it by default, it seems to stall some testsuites.
200202
fi
201203

0 commit comments

Comments
 (0)