mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-15 08:52:02 +08:00
fix: 解决 PHP 安装 oci8 扩展失败问题 (#2153)
This commit is contained in:
parent
6ad0f4cfc8
commit
93bc220600
@ -124,6 +124,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
|
|||||||
echo "---------- Install pdo_oci ----------"
|
echo "---------- Install pdo_oci ----------"
|
||||||
install-php-extensions pdo_oci
|
install-php-extensions pdo_oci
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
||||||
|
echo "---------- Install oci8 ----------"
|
||||||
|
install-php-extensions oci8
|
||||||
|
fi
|
||||||
# end
|
# end
|
||||||
|
|
||||||
|
|
||||||
@ -230,11 +235,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
|
|||||||
&& docker-php-ext-install ${MC} pgsql
|
&& docker-php-ext-install ${MC} pgsql
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
|
||||||
echo "---------- Install oci8 ----------"
|
|
||||||
docker-php-ext-install ${MC} oci8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
||||||
echo "---------- Install odbc ----------"
|
echo "---------- Install odbc ----------"
|
||||||
docker-php-ext-install ${MC} odbc
|
docker-php-ext-install ${MC} odbc
|
||||||
|
@ -124,6 +124,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
|
|||||||
echo "---------- Install pdo_oci ----------"
|
echo "---------- Install pdo_oci ----------"
|
||||||
install-php-extensions pdo_oci
|
install-php-extensions pdo_oci
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
||||||
|
echo "---------- Install oci8 ----------"
|
||||||
|
install-php-extensions oci8
|
||||||
|
fi
|
||||||
# end
|
# end
|
||||||
|
|
||||||
|
|
||||||
@ -230,11 +235,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
|
|||||||
&& docker-php-ext-install ${MC} pgsql
|
&& docker-php-ext-install ${MC} pgsql
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
|
||||||
echo "---------- Install oci8 ----------"
|
|
||||||
docker-php-ext-install ${MC} oci8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
||||||
echo "---------- Install odbc ----------"
|
echo "---------- Install odbc ----------"
|
||||||
docker-php-ext-install ${MC} odbc
|
docker-php-ext-install ${MC} odbc
|
||||||
|
@ -124,6 +124,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
|
|||||||
echo "---------- Install pdo_oci ----------"
|
echo "---------- Install pdo_oci ----------"
|
||||||
install-php-extensions pdo_oci
|
install-php-extensions pdo_oci
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
||||||
|
echo "---------- Install oci8 ----------"
|
||||||
|
install-php-extensions oci8
|
||||||
|
fi
|
||||||
# end
|
# end
|
||||||
|
|
||||||
|
|
||||||
@ -230,11 +235,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
|
|||||||
&& docker-php-ext-install ${MC} pgsql
|
&& docker-php-ext-install ${MC} pgsql
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
|
||||||
echo "---------- Install oci8 ----------"
|
|
||||||
docker-php-ext-install ${MC} oci8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
||||||
echo "---------- Install odbc ----------"
|
echo "---------- Install odbc ----------"
|
||||||
docker-php-ext-install ${MC} odbc
|
docker-php-ext-install ${MC} odbc
|
||||||
|
@ -124,6 +124,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
|
|||||||
echo "---------- Install pdo_oci ----------"
|
echo "---------- Install pdo_oci ----------"
|
||||||
install-php-extensions pdo_oci
|
install-php-extensions pdo_oci
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
||||||
|
echo "---------- Install oci8 ----------"
|
||||||
|
install-php-extensions oci8
|
||||||
|
fi
|
||||||
# end
|
# end
|
||||||
|
|
||||||
|
|
||||||
@ -230,11 +235,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
|
|||||||
&& docker-php-ext-install ${MC} pgsql
|
&& docker-php-ext-install ${MC} pgsql
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
|
||||||
echo "---------- Install oci8 ----------"
|
|
||||||
docker-php-ext-install ${MC} oci8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
||||||
echo "---------- Install odbc ----------"
|
echo "---------- Install odbc ----------"
|
||||||
docker-php-ext-install ${MC} odbc
|
docker-php-ext-install ${MC} odbc
|
||||||
|
@ -124,6 +124,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
|
|||||||
echo "---------- Install pdo_oci ----------"
|
echo "---------- Install pdo_oci ----------"
|
||||||
install-php-extensions pdo_oci
|
install-php-extensions pdo_oci
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
||||||
|
echo "---------- Install oci8 ----------"
|
||||||
|
install-php-extensions oci8
|
||||||
|
fi
|
||||||
# end
|
# end
|
||||||
|
|
||||||
|
|
||||||
@ -230,11 +235,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
|
|||||||
&& docker-php-ext-install ${MC} pgsql
|
&& docker-php-ext-install ${MC} pgsql
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
|
||||||
echo "---------- Install oci8 ----------"
|
|
||||||
docker-php-ext-install ${MC} oci8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
||||||
echo "---------- Install odbc ----------"
|
echo "---------- Install odbc ----------"
|
||||||
docker-php-ext-install ${MC} odbc
|
docker-php-ext-install ${MC} odbc
|
||||||
|
@ -129,6 +129,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
|
|||||||
install-php-extensions pdo_oci
|
install-php-extensions pdo_oci
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
||||||
|
echo "---------- Install oci8 ----------"
|
||||||
|
install-php-extensions oci8
|
||||||
|
fi
|
||||||
|
|
||||||
# end
|
# end
|
||||||
|
|
||||||
|
|
||||||
@ -235,11 +240,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
|
|||||||
&& docker-php-ext-install ${MC} pgsql
|
&& docker-php-ext-install ${MC} pgsql
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
|
||||||
echo "---------- Install oci8 ----------"
|
|
||||||
docker-php-ext-install ${MC} oci8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
||||||
echo "---------- Install odbc ----------"
|
echo "---------- Install odbc ----------"
|
||||||
docker-php-ext-install ${MC} odbc
|
docker-php-ext-install ${MC} odbc
|
||||||
|
@ -129,6 +129,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
|
|||||||
install-php-extensions pdo_oci
|
install-php-extensions pdo_oci
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
||||||
|
echo "---------- Install oci8 ----------"
|
||||||
|
install-php-extensions oci8
|
||||||
|
fi
|
||||||
|
|
||||||
# end
|
# end
|
||||||
|
|
||||||
|
|
||||||
@ -235,11 +240,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
|
|||||||
&& docker-php-ext-install ${MC} pgsql
|
&& docker-php-ext-install ${MC} pgsql
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
|
||||||
echo "---------- Install oci8 ----------"
|
|
||||||
docker-php-ext-install ${MC} oci8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
||||||
echo "---------- Install odbc ----------"
|
echo "---------- Install odbc ----------"
|
||||||
docker-php-ext-install ${MC} odbc
|
docker-php-ext-install ${MC} odbc
|
||||||
|
@ -129,6 +129,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
|
|||||||
install-php-extensions pdo_oci
|
install-php-extensions pdo_oci
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
||||||
|
echo "---------- Install oci8 ----------"
|
||||||
|
install-php-extensions oci8
|
||||||
|
fi
|
||||||
|
|
||||||
# end
|
# end
|
||||||
|
|
||||||
|
|
||||||
@ -235,11 +240,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
|
|||||||
&& docker-php-ext-install ${MC} pgsql
|
&& docker-php-ext-install ${MC} pgsql
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
|
||||||
echo "---------- Install oci8 ----------"
|
|
||||||
docker-php-ext-install ${MC} oci8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
||||||
echo "---------- Install odbc ----------"
|
echo "---------- Install odbc ----------"
|
||||||
docker-php-ext-install ${MC} odbc
|
docker-php-ext-install ${MC} odbc
|
||||||
|
@ -129,6 +129,11 @@ if [[ -z "${EXTENSIONS##*,pdo_oci,*}" ]]; then
|
|||||||
install-php-extensions pdo_oci
|
install-php-extensions pdo_oci
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
||||||
|
echo "---------- Install oci8 ----------"
|
||||||
|
install-php-extensions oci8
|
||||||
|
fi
|
||||||
|
|
||||||
# end
|
# end
|
||||||
|
|
||||||
|
|
||||||
@ -235,11 +240,6 @@ if [[ -z "${EXTENSIONS##*,pgsql,*}" ]]; then
|
|||||||
&& docker-php-ext-install ${MC} pgsql
|
&& docker-php-ext-install ${MC} pgsql
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,oci8,*}" ]]; then
|
|
||||||
echo "---------- Install oci8 ----------"
|
|
||||||
docker-php-ext-install ${MC} oci8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
if [[ -z "${EXTENSIONS##*,odbc,*}" ]]; then
|
||||||
echo "---------- Install odbc ----------"
|
echo "---------- Install odbc ----------"
|
||||||
docker-php-ext-install ${MC} odbc
|
docker-php-ext-install ${MC} odbc
|
||||||
|
Loading…
Reference in New Issue
Block a user