pull/620/head
Mr Chen 10 months ago
parent 4ce9a8cc0f
commit 73f0ed73d4
  1. 2
      plugins/php-yum/info.json
  2. 41
      plugins/php-yum/versions/84/install.sh
  3. 78
      plugins/php-yum/versions/phplib.conf

@ -5,7 +5,7 @@
"name": "php-yum", "name": "php-yum",
"title": "PHP[YUM]", "title": "PHP[YUM]",
"coexist": true, "coexist": true,
"versions": ["74","80","81","82","83"], "versions": ["74","80","81","82","83","84"],
"install_pre_inspection":true, "install_pre_inspection":true,
"tip": "soft", "tip": "soft",
"checks": "server/php-yum/VERSION", "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.4.x
PHP_VER=84
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 php84 php84-php-fpm php84-*
rm -rf $serverPath/php-yum/${PHP_VER}
echo "卸载php-${version}..." > $install_tmp
}
action=${1}
if [ "${1}" == 'install' ];then
Install_php
else
Uninstall_php
fi

@ -6,7 +6,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "数据库", "type": "数据库",
"msg": "数据库访问抽象模块!", "msg": "数据库访问抽象模块!",
@ -20,7 +21,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "数据库", "type": "数据库",
"msg": "用于使用MySQL数据库的模块!", "msg": "用于使用MySQL数据库的模块!",
@ -34,7 +36,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "数据库", "type": "数据库",
"msg": "用于使用MySQL数据库的模块!", "msg": "用于使用MySQL数据库的模块!",
@ -48,7 +51,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "数据库", "type": "数据库",
"msg": "用于使用OCI8数据库的模块!", "msg": "用于使用OCI8数据库的模块!",
@ -62,7 +66,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "数据库", "type": "数据库",
"msg": "用于使用ODBC数据库的模块!", "msg": "用于使用ODBC数据库的模块!",
@ -106,7 +111,8 @@
"74", "74",
"80", "80",
"81", "81",
"82" "82",
"83"
], ],
"type": "脚本解密", "type": "脚本解密",
"msg": "用于解密ionCube Encoder加密脚本!", "msg": "用于解密ionCube Encoder加密脚本!",
@ -137,7 +143,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "缓存器", "type": "缓存器",
"msg": "用于加速PHP脚本!", "msg": "用于加速PHP脚本!",
@ -184,7 +191,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "通用扩展", "type": "通用扩展",
"msg": "用于FILE!", "msg": "用于FILE!",
@ -198,7 +206,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "通用扩展", "type": "通用扩展",
"msg": "用于XML!", "msg": "用于XML!",
@ -212,7 +221,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "通用扩展", "type": "通用扩展",
"msg": "用于图像文件格式!", "msg": "用于图像文件格式!",
@ -226,7 +236,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "通用扩展", "type": "通用扩展",
"msg": "通用GD库!", "msg": "通用GD库!",
@ -240,7 +251,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "通用扩展", "type": "通用扩展",
"msg": "提供国际化支持", "msg": "提供国际化支持",
@ -266,7 +278,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "缓存器", "type": "缓存器",
"msg": "强大的内容缓存器,支持集群", "msg": "强大的内容缓存器,支持集群",
@ -280,7 +293,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "缓存器", "type": "缓存器",
"msg": "更强大的内容缓存器,支持集群", "msg": "更强大的内容缓存器,支持集群",
@ -305,7 +319,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "通用扩展", "type": "通用扩展",
"msg": "比GD更强大的图形库", "msg": "比GD更强大的图形库",
@ -319,7 +334,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "调试器", "type": "调试器",
"msg": "不多说,不了解的不要安装", "msg": "不多说,不了解的不要安装",
@ -333,7 +349,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "性能分析", "type": "性能分析",
"msg": "不多说,不了解的不要安装!", "msg": "不多说,不了解的不要安装!",
@ -347,7 +364,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "通用扩展", "type": "通用扩展",
"msg": "异步、并行、高性能网络通信引擎", "msg": "异步、并行、高性能网络通信引擎",
@ -372,7 +390,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "框架", "type": "框架",
"msg": "Yaf是一个C语言编写的PHP框架", "msg": "Yaf是一个C语言编写的PHP框架",
@ -386,7 +405,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "框架", "type": "框架",
"msg": "Yar是一个RPC框架", "msg": "Yar是一个RPC框架",
@ -413,7 +433,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "通用扩展", "type": "通用扩展",
"msg": "Mongodb数据库连接驱动", "msg": "Mongodb数据库连接驱动",
@ -427,7 +448,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "缓存器", "type": "缓存器",
"msg": "高性能无锁共享内存Cache", "msg": "高性能无锁共享内存Cache",
@ -441,7 +463,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "大数据", "type": "大数据",
"msg": "SOLR全文搜索服务", "msg": "SOLR全文搜索服务",
@ -455,7 +478,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "日志", "type": "日志",
"msg": "SeasLog高性能日志记录", "msg": "SeasLog高性能日志记录",
@ -469,7 +493,8 @@
"80", "80",
"81", "81",
"82", "82",
"83" "83",
"84"
], ],
"type": "通用扩展", "type": "通用扩展",
"msg": "用于需要多字节字符串处理的模块", "msg": "用于需要多字节字符串处理的模块",
@ -484,7 +509,8 @@
"81", "81",
"82", "82",
"82", "82",
"83" "83",
"84"
], ],
"type": "压缩", "type": "压缩",
"msg": "压缩组件", "msg": "压缩组件",

Loading…
Cancel
Save