fix: 解决 PHP 安装 maxminddb 失败的问题 (#1631)

This commit is contained in:
zhengkunwang 2024-06-24 17:04:09 +08:00 committed by GitHub
parent f4728d2d44
commit e05962daa0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 45 additions and 0 deletions

View File

@ -93,6 +93,11 @@ if [[ -z "${EXTENSIONS##*,ssh2,*}" ]]; then
echo "---------- Install ssh2 ----------" echo "---------- Install ssh2 ----------"
install-php-extensions ssh2 install-php-extensions ssh2
fi fi
if [[ -z "${EXTENSIONS##*,maxminddb,*}" ]]; then
echo "---------- Install maxminddb ----------"
install-php-extensions maxminddb
fi
# end # end

View File

@ -93,6 +93,11 @@ if [[ -z "${EXTENSIONS##*,ssh2,*}" ]]; then
echo "---------- Install ssh2 ----------" echo "---------- Install ssh2 ----------"
install-php-extensions ssh2 install-php-extensions ssh2
fi fi
if [[ -z "${EXTENSIONS##*,maxminddb,*}" ]]; then
echo "---------- Install maxminddb ----------"
install-php-extensions maxminddb
fi
# end # end

View File

@ -93,6 +93,11 @@ if [[ -z "${EXTENSIONS##*,ssh2,*}" ]]; then
echo "---------- Install ssh2 ----------" echo "---------- Install ssh2 ----------"
install-php-extensions ssh2 install-php-extensions ssh2
fi fi
if [[ -z "${EXTENSIONS##*,maxminddb,*}" ]]; then
echo "---------- Install maxminddb ----------"
install-php-extensions maxminddb
fi
# end # end

View File

@ -93,6 +93,11 @@ if [[ -z "${EXTENSIONS##*,ssh2,*}" ]]; then
echo "---------- Install ssh2 ----------" echo "---------- Install ssh2 ----------"
install-php-extensions ssh2 install-php-extensions ssh2
fi fi
if [[ -z "${EXTENSIONS##*,maxminddb,*}" ]]; then
echo "---------- Install maxminddb ----------"
install-php-extensions maxminddb
fi
# end # end

View File

@ -93,6 +93,11 @@ if [[ -z "${EXTENSIONS##*,ssh2,*}" ]]; then
echo "---------- Install ssh2 ----------" echo "---------- Install ssh2 ----------"
install-php-extensions ssh2 install-php-extensions ssh2
fi fi
if [[ -z "${EXTENSIONS##*,maxminddb,*}" ]]; then
echo "---------- Install maxminddb ----------"
install-php-extensions maxminddb
fi
# end # end

View File

@ -97,6 +97,11 @@ if [[ -z "${EXTENSIONS##*,xmlrpc,*}" ]]; then
echo "---------- Install xmlrpc ----------" echo "---------- Install xmlrpc ----------"
install-php-extensions xmlrpc install-php-extensions xmlrpc
fi fi
if [[ -z "${EXTENSIONS##*,maxminddb,*}" ]]; then
echo "---------- Install maxminddb ----------"
install-php-extensions maxminddb
fi
# end # end

View File

@ -97,6 +97,11 @@ if [[ -z "${EXTENSIONS##*,xmlrpc,*}" ]]; then
echo "---------- Install xmlrpc ----------" echo "---------- Install xmlrpc ----------"
install-php-extensions xmlrpc install-php-extensions xmlrpc
fi fi
if [[ -z "${EXTENSIONS##*,maxminddb,*}" ]]; then
echo "---------- Install maxminddb ----------"
install-php-extensions maxminddb
fi
# end # end

View File

@ -97,6 +97,11 @@ if [[ -z "${EXTENSIONS##*,xmlrpc,*}" ]]; then
echo "---------- Install xmlrpc ----------" echo "---------- Install xmlrpc ----------"
install-php-extensions xmlrpc install-php-extensions xmlrpc
fi fi
if [[ -z "${EXTENSIONS##*,maxminddb,*}" ]]; then
echo "---------- Install maxminddb ----------"
install-php-extensions maxminddb
fi
# end # end

View File

@ -97,6 +97,11 @@ if [[ -z "${EXTENSIONS##*,xmlrpc,*}" ]]; then
echo "---------- Install xmlrpc ----------" echo "---------- Install xmlrpc ----------"
install-php-extensions xmlrpc install-php-extensions xmlrpc
fi fi
if [[ -z "${EXTENSIONS##*,maxminddb,*}" ]]; then
echo "---------- Install maxminddb ----------"
install-php-extensions maxminddb
fi
# end # end