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