fix: 解决 PHP 安装 oci8 扩展失败问题 (#2153)

This commit is contained in:
zhengkunwang 2024-09-23 13:32:42 +08:00 committed by GitHub
parent 6ad0f4cfc8
commit 93bc220600
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 45 additions and 45 deletions

View File

@ -124,6 +124,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
echo "---------- Install pdo_oci ----------"
install-php-extensions pdo_oci
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
install-php-extensions oci8
fi
# end
@ -230,11 +235,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
&& docker-php-ext-install ${MC} pgsql
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
docker-php-ext-install ${MC} oci8
fi
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
echo "---------- Install odbc ----------"
docker-php-ext-install ${MC} odbc

View File

@ -124,6 +124,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
echo "---------- Install pdo_oci ----------"
install-php-extensions pdo_oci
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
install-php-extensions oci8
fi
# end
@ -230,11 +235,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
&& docker-php-ext-install ${MC} pgsql
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
docker-php-ext-install ${MC} oci8
fi
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
echo "---------- Install odbc ----------"
docker-php-ext-install ${MC} odbc

View File

@ -124,6 +124,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
echo "---------- Install pdo_oci ----------"
install-php-extensions pdo_oci
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
install-php-extensions oci8
fi
# end
@ -230,11 +235,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
&& docker-php-ext-install ${MC} pgsql
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
docker-php-ext-install ${MC} oci8
fi
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
echo "---------- Install odbc ----------"
docker-php-ext-install ${MC} odbc

View File

@ -124,6 +124,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
echo "---------- Install pdo_oci ----------"
install-php-extensions pdo_oci
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
install-php-extensions oci8
fi
# end
@ -230,11 +235,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
&& docker-php-ext-install ${MC} pgsql
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
docker-php-ext-install ${MC} oci8
fi
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
echo "---------- Install odbc ----------"
docker-php-ext-install ${MC} odbc

View File

@ -124,6 +124,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
echo "---------- Install pdo_oci ----------"
install-php-extensions pdo_oci
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
install-php-extensions oci8
fi
# end
@ -230,11 +235,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
&& docker-php-ext-install ${MC} pgsql
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
docker-php-ext-install ${MC} oci8
fi
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
echo "---------- Install odbc ----------"
docker-php-ext-install ${MC} odbc

View File

@ -129,6 +129,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
install-php-extensions pdo_oci
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
install-php-extensions oci8
fi
# end
@ -235,11 +240,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
&& docker-php-ext-install ${MC} pgsql
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
docker-php-ext-install ${MC} oci8
fi
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
echo "---------- Install odbc ----------"
docker-php-ext-install ${MC} odbc

View File

@ -129,6 +129,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
install-php-extensions pdo_oci
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
install-php-extensions oci8
fi
# end
@ -235,11 +240,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
&& docker-php-ext-install ${MC} pgsql
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
docker-php-ext-install ${MC} oci8
fi
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
echo "---------- Install odbc ----------"
docker-php-ext-install ${MC} odbc

View File

@ -129,6 +129,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
install-php-extensions pdo_oci
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
install-php-extensions oci8
fi
# end
@ -235,11 +240,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
&& docker-php-ext-install ${MC} pgsql
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
docker-php-ext-install ${MC} oci8
fi
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
echo "---------- Install odbc ----------"
docker-php-ext-install ${MC} odbc

View File

@ -129,6 +129,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
install-php-extensions pdo_oci
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
install-php-extensions oci8
fi
# end
@ -235,11 +240,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
&& docker-php-ext-install ${MC} pgsql
fi
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
echo "---------- Install oci8 ----------"
docker-php-ext-install ${MC} oci8
fi
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
echo "---------- Install odbc ----------"
docker-php-ext-install ${MC} odbc