From 0158fe2782bdab400812f97533a2da2f6a4c89b8 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Fri, 15 May 2020 23:48:03 +0530 Subject: [PATCH] Fix enabling pdo extension --- 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 41cf241e..31f7087c 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -119,7 +119,7 @@ add_pdo_extension() { add_log "$tick" "$pdo_ext" "Enabled" else read -r ext ext_name <<< "$1 $1" - sudo rm -rf "$scan_dir"/*pdo.ini >/dev/null 2>&1 && enable_extension "pdo" "extension" >/dev/null 2>&1 + sudo rm -rf "$scan_dir"/*pdo.ini >/dev/null 2>&1 && echo "extension=pdo.so" >> "$ini_file" if [ "$ext" = "mysql" ]; then enable_extension "mysqlnd" "extension" ext_name="mysqli"