Add http dependencies when version is specified

This commit is contained in:
Shivam Mathur 2022-03-22 18:50:03 +05:30
parent 27eef9a04c
commit dfd2c8da97
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -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"