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

@ -37,7 +37,7 @@ add_pdo_extension() {
else
ext=$1
ext_name=$1
if [ -e "$ext_dir"/pdo.so ]; then
if shared_extension pdo; then
disable_extension_helper pdo
echo "extension=pdo.so" | sudo tee "${ini_file[@]/php.ini/conf.d/10-pdo.ini}" >/dev/null 2>&1
fi