From cddff844169d9d9fb09d1870d3128bbca7a5159b Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 7 Jul 2022 21:15:22 +0800 Subject: [PATCH] up --- plugins/php-yum/conf/php-fpm.conf | 6 --- plugins/php-yum/install.sh | 6 +++ plugins/php-yum/versions/phplib.conf | 63 ++++++++++++++++++---------- 3 files changed, 46 insertions(+), 29 deletions(-) delete mode 100644 plugins/php-yum/conf/php-fpm.conf diff --git a/plugins/php-yum/conf/php-fpm.conf b/plugins/php-yum/conf/php-fpm.conf deleted file mode 100644 index 004ea8e87..000000000 --- a/plugins/php-yum/conf/php-fpm.conf +++ /dev/null @@ -1,6 +0,0 @@ - -[global] -pid = run/php-fpm.pid -error_log = log/php-fpm.log -include={$SERVER_PATH}/php/{$PHP_VERSION}/etc/php-fpm.d/*.conf -php_value[auto_prepend_file]={$SERVER_PATH}/php/app_start.php \ No newline at end of file diff --git a/plugins/php-yum/install.sh b/plugins/php-yum/install.sh index 572f9947a..0412dffc1 100755 --- a/plugins/php-yum/install.sh +++ b/plugins/php-yum/install.sh @@ -32,6 +32,12 @@ if [ ! -d $curPath/versions/$2 ];then fi +if [ "${action}" == "uninstall" ] && [ -d ${serverPath}/php-yum/${type} ];then + #初始化 + cd ${rootPath} && python3 ${rootPath}/plugins/php-yum/index.py stop ${type} + cd ${rootPath} && python3 ${rootPath}/plugins/php-yum/index.py initd_uninstall ${type} +fi + cd ${curPath} && sh -x $curPath/versions/$2/install.sh $1 if [ "${action}" == "install" ] && [ -d ${serverPath}/php-yum/${type} ];then diff --git a/plugins/php-yum/versions/phplib.conf b/plugins/php-yum/versions/phplib.conf index 6c5e6e1a0..ac63fbce5 100755 --- a/plugins/php-yum/versions/phplib.conf +++ b/plugins/php-yum/versions/phplib.conf @@ -6,7 +6,8 @@ "54", "56", "80", - "81" + "81", + "82" ], "type": "数据库", "msg": "用于使用MySQL数据库的模块!", @@ -20,7 +21,8 @@ "54", "56", "80", - "81" + "81", + "82" ], "type": "数据库", "msg": "用于使用OCI8数据库的模块!", @@ -34,7 +36,8 @@ "54", "56", "80", - "81" + "81", + "82" ], "type": "数据库", "msg": "用于使用ODBC数据库的模块!", @@ -95,7 +98,8 @@ "73", "74", "80", - "81" + "81", + "82" ], "type": "缓存器", "msg": "用于加速PHP脚本!", @@ -110,7 +114,8 @@ "73", "74", "80", - "81" + "81", + "82" ], "type": "通用扩展", "msg": "加密软件!", @@ -160,10 +165,10 @@ { "name": "gd", "versions": [ - "52", "74", "80", - "81" + "81", + "82" ], "type": "通用扩展", "msg": "通用GD库!", @@ -184,7 +189,8 @@ "73", "74", "80", - "81" + "81", + "82" ], "type": "通用扩展", "msg": "提供国际化支持", @@ -194,11 +200,10 @@ { "name": "memcache", "versions": [ - "52", - "53", - "54", - "55", - "56" + "74", + "80", + "81", + "82" ], "type": "缓存器", "msg": "强大的内容缓存器,不支持集群", @@ -269,7 +274,8 @@ "73", "74", "80", - "81" + "81", + "82" ], "type": "通用扩展", "msg": "比GD更强大的图形库", @@ -288,7 +294,9 @@ "72", "73", "74", - "80" + "80", + "81", + "82" ], "type": "调试器", "msg": "不多说,不了解的不要安装", @@ -309,7 +317,8 @@ "73", "74", "80", - "81" + "81", + "82" ], "type": "性能分析", "msg": "不多说,不了解的不要安装!", @@ -328,7 +337,9 @@ "72", "73", "74", - "80" + "80", + "81", + "82" ], "type": "通用扩展", "msg": "异步、并行、高性能网络通信引擎", @@ -379,7 +390,8 @@ "73", "74", "80", - "81" + "81", + "82" ], "type": "框架", "msg": "Yar是一个RPC框架", @@ -410,7 +422,8 @@ "73", "74", "80", - "81" + "81", + "82" ], "type": "通用扩展", "msg": "Mongodb数据库连接驱动", @@ -426,7 +439,8 @@ "73", "74", "80", - "81" + "81", + "82" ], "type": "缓存器", "msg": "高性能无锁共享内存Cache", @@ -446,7 +460,8 @@ "73", "74", "80", - "81" + "81", + "82" ], "type": "大数据", "msg": "SOLR全文搜索服务", @@ -466,7 +481,8 @@ "73", "74", "80", - "81" + "81", + "82" ], "type": "日志", "msg": "SeasLog高性能日志记录", @@ -482,7 +498,8 @@ "73", "74", "80", - "81" + "81", + "82" ], "type": "压缩", "msg": "压缩组件",