This commit is contained in:
midoks
2023-01-09 11:39:52 +08:00
parent 8aa44408cc
commit 758da44141
3 changed files with 19 additions and 0 deletions
+1
View File
@@ -69,6 +69,7 @@ if [ "${action}" == "install" ] && [ -d ${serverPath}/php-yum/${type} ];then
# 安装通用扩展 # 安装通用扩展
echo "install PHP-YUM[${type}] extend start" echo "install PHP-YUM[${type}] extend start"
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install mysqlnd cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install mysqlnd
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install mysql
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install gd cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install gd
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install iconv cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install iconv
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install exif cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install exif
+5
View File
@@ -21,6 +21,7 @@ extName=$3
FILE=${curPath}/${version}/${extName}.sh FILE=${curPath}/${version}/${extName}.sh
# yum install -y php81-php-yar # yum install -y php81-php-yar
# yum install -y php74-php-pecl-mysql
if [ "$action" == 'install' ];then if [ "$action" == 'install' ];then
@@ -30,6 +31,10 @@ if [ "$action" == 'install' ];then
else else
yum install -y php${version}-php*-${extName} yum install -y php${version}-php*-${extName}
fi fi
# if [ "${extName}" == "mysql" ];then
# yum install -y php74-php-pecl-mysql
# fi
fi fi
+13
View File
@@ -25,6 +25,19 @@
"shell": "mysqlnd.sh", "shell": "mysqlnd.sh",
"check": "mysqlnd" "check": "mysqlnd"
}, },
{
"name": "mysql",
"versions": [
"74",
"80",
"81",
"82"
],
"type": "数据库",
"msg": "用于使用MySQL数据库的模块!",
"shell": "mysql.sh",
"check": "mysql"
},
{ {
"name": "oci8", "name": "oci8",
"versions": [ "versions": [