Do not delete extensions, just disable them

This commit is contained in:
Shivam Mathur
2021-08-28 12:17:19 +05:30
parent f6b4601c63
commit 5402397d9f
10 changed files with 44 additions and 79 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ add_http_version() {
ext=$1
enable_http
if [ "x$(php -r "echo phpversion('http');")" != "x${ext##*-}" ]; then
remove_extension http >/dev/null
disable_extension_helper http >/dev/null
add_http_helper pecl_http-"${ext##*-}" "$os"
status="Installed and enabled"
fi