pull/519/head
Mr Chen 1 year ago
parent f835e4d6a1
commit 6d2550e607
  1. 2
      plugins/php-yum/info.json
  2. 41
      plugins/php-yum/versions/83/install.sh
  3. 89
      plugins/php-yum/versions/phplib.conf

@ -5,7 +5,7 @@
"name": "php-yum",
"title": "PHP[YUM]",
"coexist": true,
"versions": ["74","80","81","82"],
"versions": ["74","80","81","82","83"],
"install_pre_inspection":true,
"tip": "soft",
"checks": "server/php-yum/VERSION",

@ -0,0 +1,41 @@
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
curPath=`pwd`
rootPath=$(dirname "$curPath")
rootPath=$(dirname "$rootPath")
serverPath=$(dirname "$rootPath")
sourcePath=${serverPath}/source
sysName=`uname`
install_tmp=${rootPath}/tmp/mw_install.pl
version=8.3.x
PHP_VER=83
Install_php()
{
#------------------------ install start ------------------------------------#
yum install -y php83 php83-php-fpm
if [ "$?" == "0" ];then
mkdir -p $serverPath/php-yum/${PHP_VER}
fi
#------------------------ install end ------------------------------------#
}
Uninstall_php()
{
yum remove -y php83 php83-php-fpm php83-*
rm -rf $serverPath/php-yum/${PHP_VER}
echo "卸载php-${version}..." > $install_tmp
}
action=${1}
if [ "${1}" == 'install' ];then
Install_php
else
Uninstall_php
fi

@ -5,7 +5,8 @@
"74",
"80",
"81",
"82"
"82",
"83"
],
"type": "数据库",
"msg": "数据库访问抽象模块!",
@ -18,7 +19,8 @@
"74",
"80",
"81",
"82"
"82",
"83"
],
"type": "数据库",
"msg": "用于使用MySQL数据库的模块!",
@ -31,7 +33,8 @@
"74",
"80",
"81",
"82"
"82",
"83"
],
"type": "数据库",
"msg": "用于使用MySQL数据库的模块!",
@ -44,7 +47,8 @@
"74",
"80",
"81",
"82"
"82",
"83"
],
"type": "数据库",
"msg": "用于使用OCI8数据库的模块!",
@ -57,7 +61,8 @@
"74",
"80",
"81",
"82"
"82",
"83"
],
"type": "数据库",
"msg": "用于使用ODBC数据库的模块!",
@ -128,7 +133,8 @@
"74",
"80",
"81",
"82"
"82",
"83"
],
"type": "缓存器",
"msg": "用于加速PHP脚本!",
@ -163,7 +169,9 @@
"73",
"74",
"80",
"81"
"81",
"82",
"83"
],
"type": "通用扩展",
"msg": "用于FILE!",
@ -183,7 +191,9 @@
"73",
"74",
"80",
"81"
"81",
"82",
"83"
],
"type": "通用扩展",
"msg": "用于XML!",
@ -203,7 +213,9 @@
"73",
"74",
"80",
"81"
"81",
"82",
"83"
],
"type": "通用扩展",
"msg": "用于图像文件格式!",
@ -216,7 +228,8 @@
"74",
"80",
"81",
"82"
"82",
"83"
],
"type": "通用扩展",
"msg": "通用GD库!",
@ -238,7 +251,8 @@
"74",
"80",
"81",
"82"
"82",
"83"
],
"type": "通用扩展",
"msg": "提供国际化支持",
@ -271,7 +285,8 @@
"74",
"80",
"81",
"82"
"82",
"83"
],
"type": "缓存器",
"msg": "强大的内容缓存器,支持集群",
@ -292,7 +307,9 @@
"73",
"74",
"80",
"81"
"81",
"82",
"83"
],
"type": "缓存器",
"msg": "更强大的内容缓存器,支持集群",
@ -323,7 +340,8 @@
"74",
"80",
"81",
"82"
"82",
"83"
],
"type": "通用扩展",
"msg": "比GD更强大的图形库",
@ -343,7 +361,9 @@
"73",
"74",
"80",
"81"
"81",
"82",
"83"
],
"type": "调试器",
"msg": "不多说,不了解的不要安装",
@ -364,7 +384,9 @@
"73",
"74",
"80",
"81"
"81",
"82",
"83"
],
"type": "性能分析",
"msg": "不多说,不了解的不要安装!",
@ -384,7 +406,9 @@
"73",
"74",
"80",
"81"
"81",
"82",
"83"
],
"type": "通用扩展",
"msg": "异步、并行、高性能网络通信引擎",
@ -415,7 +439,9 @@
"73",
"74",
"80",
"81"
"81",
"82",
"83"
],
"type": "框架",
"msg": "Yaf是一个C语言编写的PHP框架",
@ -435,7 +461,9 @@
"73",
"74",
"80",
"81"
"81",
"82",
"83"
],
"type": "框架",
"msg": "Yar是一个RPC框架",
@ -466,7 +494,9 @@
"73",
"74",
"80",
"81"
"81",
"82",
"83"
],
"type": "通用扩展",
"msg": "Mongodb数据库连接驱动",
@ -482,7 +512,9 @@
"73",
"74",
"80",
"81"
"81",
"82",
"83"
],
"type": "缓存器",
"msg": "高性能无锁共享内存Cache",
@ -502,7 +534,9 @@
"73",
"74",
"80",
"81"
"81",
"82",
"83"
],
"type": "大数据",
"msg": "SOLR全文搜索服务",
@ -522,7 +556,9 @@
"73",
"74",
"80",
"81"
"81",
"82",
"83"
],
"type": "日志",
"msg": "SeasLog高性能日志记录",
@ -543,7 +579,8 @@
"74",
"80",
"81",
"82"
"82",
"83"
],
"type": "通用扩展",
"msg": "用于需要多字节字符串处理的模块",
@ -560,7 +597,9 @@
"74",
"80",
"81",
"82"
"82",
"82",
"83"
],
"type": "压缩",
"msg": "压缩组件",

Loading…
Cancel
Save