Skip to content

Commit 6a1d559

Browse files
committed
Fix regression in pecl_http support [skip ci]
1 parent 076a5e3 commit 6a1d559

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/scripts/extensions/http.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ add_http_helper() {
6161
export HTTP_CONFIGURE_OPTS="$http_configure_opts"
6262
export HTTP_LINUX_LIBS="zlib1g libbrotli-dev libcurl4-openssl-dev libevent-dev libicu-dev libidn2-dev"
6363
export HTTP_DARWIN_LIBS="brotli curl icu4c libevent libidn2"
64-
if ! [[ ${version:?} =~ 5.[3-6]|7.[0-4] ]]; then
64+
if [[ "${version:?}" =~ ${nightly_versions:?} ]]; then
6565
add_extension_from_source http https://github.com m6w6 ext-http master extension
6666
else
6767
add_extension_from_source pecl_http https://pecl.php.net http http "${ext##*-}" extension pecl

src/scripts/unix.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export curl_opts=(-sL)
55
export old_versions="5.[3-5]"
66
export jit_versions="8.[0-9]"
77
export php_builder_versions="8.[3-9]"
8+
export nightly_versions="8.[6-9]"
89
export xdebug3_versions="7.[2-4]|8.[0-9]"
910
export latest="releases/latest/download"
1011
export github="https://github.com/shivammathur"

0 commit comments

Comments
 (0)