mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-10-21 10:45:09 +07:00
Add http dependencies when version is specified
This commit is contained in:
@ -91,6 +91,7 @@ add_http_version() {
|
|||||||
ext=$1
|
ext=$1
|
||||||
enable_http
|
enable_http
|
||||||
if [ "x$(php -r "echo phpversion('http');")" != "x${ext##*-}" ]; then
|
if [ "x$(php -r "echo phpversion('http');")" != "x${ext##*-}" ]; then
|
||||||
|
add_http_dependencies
|
||||||
disable_extension_helper http >/dev/null
|
disable_extension_helper http >/dev/null
|
||||||
add_http_helper pecl_http-"${ext##*-}" "$os"
|
add_http_helper pecl_http-"${ext##*-}" "$os"
|
||||||
status="Installed and enabled"
|
status="Installed and enabled"
|
||||||
|
Reference in New Issue
Block a user