Fix logs of disabled dependent extensions

Use shared_extension function on unix
This commit is contained in:
Shivam Mathur
2021-08-26 15:54:09 +05:30
parent 8e80635955
commit 4beeea41b4
7 changed files with 19 additions and 10 deletions

View File

@ -300,6 +300,8 @@ Function Disable-Extension() {
} else {
Add-Log $cross ":$extension" "Could not disable $extension on PHP $($installed.FullVersion) as it not a shared extension"
}
} elseif(Test-Path $ext_dir\php_$extension.dll) {
Add-Log $tick ":$extension" "Disabled"
} else {
Add-Log $tick ":$extension" "Could not find $extension on PHP $($installed.FullVersion)"
}