fix: 解决 PHP8 安装 xmlrpc 失败的问题 (#1618)

This commit is contained in:
zhengkunwang 2024-06-24 10:46:02 +08:00 committed by GitHub
parent a76df17e26
commit 036e65470e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 24 deletions

View File

@ -92,6 +92,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##*,xmlrpc,*}" ]]; then
echo "---------- Install xmlrpc ----------"
install-php-extensions xmlrpc
fi
# end # end
@ -289,12 +294,6 @@ if [[ -z "${EXTENSIONS##*,xsl,*}" ]]; then
docker-php-ext-install ${MC} xsl docker-php-ext-install ${MC} xsl
fi fi
if [[ -z "${EXTENSIONS##*,xmlrpc,*}" ]]; then
echo "---------- Install xmlrpc ----------"
apk add --no-cache libxml2-dev libxslt-dev
docker-php-ext-install ${MC} xmlrpc
fi
if [[ -z "${EXTENSIONS##*,wddx,*}" ]]; then if [[ -z "${EXTENSIONS##*,wddx,*}" ]]; then
echo "---------- Install wddx ----------" echo "---------- Install wddx ----------"
apk add --no-cache libxml2-dev libxslt-dev apk add --no-cache libxml2-dev libxslt-dev

View File

@ -92,6 +92,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##*,xmlrpc,*}" ]]; then
echo "---------- Install xmlrpc ----------"
install-php-extensions xmlrpc
fi
# end # end
@ -289,12 +294,6 @@ if [[ -z "${EXTENSIONS##*,xsl,*}" ]]; then
docker-php-ext-install ${MC} xsl docker-php-ext-install ${MC} xsl
fi fi
if [[ -z "${EXTENSIONS##*,xmlrpc,*}" ]]; then
echo "---------- Install xmlrpc ----------"
apk add --no-cache libxml2-dev libxslt-dev
docker-php-ext-install ${MC} xmlrpc
fi
if [[ -z "${EXTENSIONS##*,wddx,*}" ]]; then if [[ -z "${EXTENSIONS##*,wddx,*}" ]]; then
echo "---------- Install wddx ----------" echo "---------- Install wddx ----------"
apk add --no-cache libxml2-dev libxslt-dev apk add --no-cache libxml2-dev libxslt-dev

View File

@ -92,6 +92,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##*,xmlrpc,*}" ]]; then
echo "---------- Install xmlrpc ----------"
install-php-extensions xmlrpc
fi
# end # end
@ -289,12 +294,6 @@ if [[ -z "${EXTENSIONS##*,xsl,*}" ]]; then
docker-php-ext-install ${MC} xsl docker-php-ext-install ${MC} xsl
fi fi
if [[ -z "${EXTENSIONS##*,xmlrpc,*}" ]]; then
echo "---------- Install xmlrpc ----------"
apk add --no-cache libxml2-dev libxslt-dev
docker-php-ext-install ${MC} xmlrpc
fi
if [[ -z "${EXTENSIONS##*,wddx,*}" ]]; then if [[ -z "${EXTENSIONS##*,wddx,*}" ]]; then
echo "---------- Install wddx ----------" echo "---------- Install wddx ----------"
apk add --no-cache libxml2-dev libxslt-dev apk add --no-cache libxml2-dev libxslt-dev

View File

@ -92,6 +92,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##*,xmlrpc,*}" ]]; then
echo "---------- Install xmlrpc ----------"
install-php-extensions xmlrpc
fi
# end # end
@ -289,12 +294,6 @@ if [[ -z "${EXTENSIONS##*,xsl,*}" ]]; then
docker-php-ext-install ${MC} xsl docker-php-ext-install ${MC} xsl
fi fi
if [[ -z "${EXTENSIONS##*,xmlrpc,*}" ]]; then
echo "---------- Install xmlrpc ----------"
apk add --no-cache libxml2-dev libxslt-dev
docker-php-ext-install ${MC} xmlrpc
fi
if [[ -z "${EXTENSIONS##*,wddx,*}" ]]; then if [[ -z "${EXTENSIONS##*,wddx,*}" ]]; then
echo "---------- Install wddx ----------" echo "---------- Install wddx ----------"
apk add --no-cache libxml2-dev libxslt-dev apk add --no-cache libxml2-dev libxslt-dev