From ffded4a3e8f5f2559aa84920d75722690cf082f2 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Fri, 21 Aug 2020 23:45:21 +0530 Subject: [PATCH] Fix support for pecl pdo extensions on Ubuntu --- src/scripts/linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index 3e63aa7f3..2eaf56ab9 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -165,7 +165,7 @@ add_pdo_extension() { read -r ext ext_name <<< "sqlite3 sqlite3" fi add_extension "$ext_name" "$apt_install php$version-$ext" "extension" >/dev/null 2>&1 - enable_extension "$pdo_ext" "extension" + add_extension "$pdo_ext" "pecl_install $pdo_ext" "extension" >/dev/null 2>&1 add_extension_log "$pdo_ext" "Enabled" fi }