mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 13:23:05 +07:00
Fix enabling pdo extension
This commit is contained in:
parent
3a8557bcc6
commit
0158fe2782
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user