Fix support for pecl pdo extensions on Ubuntu

This commit is contained in:
Shivam Mathur 2020-08-21 23:45:21 +05:30
parent 9e6b9d7d70
commit ffded4a3e8
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

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