mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-03-14 13:23:15 +07:00
Rename nightly_versions -> php_builder_versions
This commit is contained in:
@@ -31,7 +31,7 @@ add_firebird() {
|
||||
if ! check_extension pdo_firebird; then
|
||||
status="Installed and enabled"
|
||||
if [ "$(uname -s)" = "Linux" ]; then
|
||||
if [[ "${version:?}" =~ 5.3|${nightly_versions:?} ]]; then
|
||||
if [[ "${version:?}" =~ 5.3|${php_builder_versions:?} ]]; then
|
||||
add_firebird_helper /usr >/dev/null 2>&1
|
||||
else
|
||||
add_pdo_extension firebird >/dev/null 2>&1
|
||||
|
||||
@@ -61,7 +61,7 @@ add_http_helper() {
|
||||
export HTTP_CONFIGURE_OPTS="$http_configure_opts"
|
||||
export HTTP_LINUX_LIBS="zlib1g libbrotli-dev libcurl4-openssl-dev libevent-dev libicu-dev libidn2-dev"
|
||||
export HTTP_DARWIN_LIBS="brotli curl icu4c libevent libidn2"
|
||||
if [[ "${version:?}" =~ ${nightly_versions:?} ]]; then
|
||||
if ! [[ ${version:?} =~ 5.[3-6]|7.[0-4] ]]; then
|
||||
add_extension_from_source http https://github.com m6w6 ext-http master extension
|
||||
else
|
||||
add_extension_from_source pecl_http https://pecl.php.net http http "${ext##*-}" extension pecl
|
||||
|
||||
Reference in New Issue
Block a user