Skip to content

Commit b810441

Browse files
authored
Merge pull request #853 from midoks/dev
常规更新
2 parents f7a103f + a5230d1 commit b810441

File tree

8 files changed

+443
-134
lines changed

8 files changed

+443
-134
lines changed

plugins/php-apt/versions/common/brotli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ version=$2
1515

1616
sysName=`uname`
1717
LIBNAME=brotli
18-
LIBV=0.15.2
18+
LIBV=0.18.3
1919

2020
extVer=`bash $curPath/lib.sh $version`
2121
extFile=/usr/lib/php/${extVer}/${LIBNAME}.so

plugins/php-apt/versions/common/swoole.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ version=$2
1515

1616
sysName=`uname`
1717
LIBNAME=swoole
18-
LIBV=4.8.10
18+
LIBV=6.1.6
1919

2020

2121
APT_INSTALL=0
@@ -26,6 +26,8 @@ elif [ "$version" == "7.1" ];then
2626
LIBV=4.5.2
2727
elif [ "$version" == "7.0" ];then
2828
LIBV=4.3.0
29+
elif [ "$version" == "8.5" ];then
30+
LIBV=6.1.6
2931
else
3032
echo 'ok'
3133
APT_INSTALL=1

plugins/php-apt/versions/lib.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ elif [[ "$version" == '8.3' ]]; then
3232
echo '20230831'
3333
elif [[ "$version" == '8.4' ]]; then
3434
echo '20240924'
35+
elif [[ "$version" == '8.5' ]]; then
36+
echo '20250925'
3537
fi

plugins/php-apt/versions/phplib.conf

Lines changed: 60 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
"81",
5050
"82",
5151
"83",
52-
"84"
52+
"84",
53+
"85"
5354
],
5455
"type": "数据库",
5556
"msg": "数据库访问抽象模块!",
@@ -69,7 +70,8 @@
6970
"81",
7071
"82",
7172
"83",
72-
"84"
73+
"84",
74+
"85"
7375
],
7476
"type": "数据库",
7577
"msg": "用于使用MySQL数据库的模块!",
@@ -89,7 +91,8 @@
8991
"81",
9092
"82",
9193
"83",
92-
"84"
94+
"84",
95+
"85"
9396
],
9497
"type": "数据库",
9598
"msg": "用于使用MySQL数据库的模块!",
@@ -109,7 +112,8 @@
109112
"81",
110113
"82",
111114
"83",
112-
"84"
115+
"84",
116+
"85"
113117
],
114118
"type": "数据库",
115119
"msg": "用于使用sqlite3数据库的模块!",
@@ -137,7 +141,8 @@
137141
"81",
138142
"82",
139143
"83",
140-
"84"
144+
"84",
145+
"85"
141146
],
142147
"type": "数据库",
143148
"msg": "用于使用ODBC数据库的模块!",
@@ -176,7 +181,8 @@
176181
"81",
177182
"82",
178183
"83",
179-
"84"
184+
"84",
185+
"85"
180186
],
181187
"type": "缓存器",
182188
"msg": "用于加速PHP脚本!",
@@ -212,7 +218,8 @@
212218
"81",
213219
"82",
214220
"83",
215-
"84"
221+
"84",
222+
"85"
216223
],
217224
"type": "通用扩展",
218225
"msg": "轻型目录访问协议",
@@ -233,7 +240,8 @@
233240
"81",
234241
"82",
235242
"83",
236-
"84"
243+
"84",
244+
"85"
237245
],
238246
"type": "通用扩展",
239247
"msg": "数学扩展",
@@ -252,7 +260,8 @@
252260
"81",
253261
"82",
254262
"83",
255-
"84"
263+
"84",
264+
"85"
256265
],
257266
"type": "压缩",
258267
"msg": "压缩算法",
@@ -272,7 +281,8 @@
272281
"81",
273282
"82",
274283
"83",
275-
"84"
284+
"84",
285+
"85"
276286
],
277287
"type": "通用扩展",
278288
"msg": "高精度计算!",
@@ -292,7 +302,8 @@
292302
"81",
293303
"82",
294304
"83",
295-
"84"
305+
"84",
306+
"85"
296307
],
297308
"type": "通用扩展",
298309
"msg": "用于FILE!",
@@ -312,7 +323,8 @@
312323
"81",
313324
"82",
314325
"83",
315-
"84"
326+
"84",
327+
"85"
316328
],
317329
"type": "通用扩展",
318330
"msg": "用于图像文件格式!",
@@ -332,7 +344,8 @@
332344
"81",
333345
"82",
334346
"83",
335-
"84"
347+
"84",
348+
"85"
336349
],
337350
"type": "通用扩展",
338351
"msg": "序列化扩展!",
@@ -352,7 +365,8 @@
352365
"81",
353366
"82",
354367
"83",
355-
"84"
368+
"84",
369+
"85"
356370
],
357371
"type": "通用扩展",
358372
"msg": "用于xml解析!",
@@ -367,7 +381,8 @@
367381
"81",
368382
"82",
369383
"83",
370-
"84"
384+
"84",
385+
"85"
371386
],
372387
"type": "通用扩展",
373388
"msg": "通用CURL库!",
@@ -382,7 +397,8 @@
382397
"81",
383398
"82",
384399
"83",
385-
"84"
400+
"84",
401+
"85"
386402
],
387403
"type": "通用扩展",
388404
"msg": "通用GD库!",
@@ -402,7 +418,8 @@
402418
"81",
403419
"82",
404420
"83",
405-
"84"
421+
"84",
422+
"85"
406423
],
407424
"type": "通用扩展",
408425
"msg": "提供国际化支持",
@@ -434,7 +451,8 @@
434451
"81",
435452
"82",
436453
"83",
437-
"84"
454+
"84",
455+
"85"
438456
],
439457
"type": "缓存器",
440458
"msg": "强大的内容缓存器,支持集群",
@@ -454,7 +472,8 @@
454472
"81",
455473
"82",
456474
"83",
457-
"84"
475+
"84",
476+
"85"
458477
],
459478
"type": "缓存器",
460479
"msg": "更强大的内容缓存器,支持集群",
@@ -474,7 +493,8 @@
474493
"81",
475494
"82",
476495
"83",
477-
"84"
496+
"84",
497+
"85"
478498
],
479499
"type": "缓存器",
480500
"msg": "脚本缓存器",
@@ -494,7 +514,8 @@
494514
"81",
495515
"82",
496516
"83",
497-
"84"
517+
"84",
518+
"85"
498519
],
499520
"type": "通用扩展",
500521
"msg": "比GD更强大的图形库",
@@ -514,7 +535,8 @@
514535
"81",
515536
"82",
516537
"83",
517-
"84"
538+
"84",
539+
"85"
518540
],
519541
"type": "调试器",
520542
"msg": "不多说,不了解的不要安装",
@@ -534,7 +556,8 @@
534556
"81",
535557
"82",
536558
"83",
537-
"84"
559+
"84",
560+
"85"
538561
],
539562
"type": "性能分析",
540563
"msg": "不多说,不了解的不要安装!",
@@ -554,7 +577,8 @@
554577
"81",
555578
"82",
556579
"83",
557-
"84"
580+
"84",
581+
"85"
558582
],
559583
"type": "通用扩展",
560584
"msg": "异步、并行、高性能网络通信引擎",
@@ -604,7 +628,8 @@
604628
"81",
605629
"82",
606630
"83",
607-
"84"
631+
"84",
632+
"85"
608633
],
609634
"type": "框架",
610635
"msg": "PHP框架",
@@ -649,7 +674,8 @@
649674
"81",
650675
"82",
651676
"83",
652-
"84"
677+
"84",
678+
"85"
653679
],
654680
"type": "通用扩展",
655681
"msg": "Mongodb数据库连接驱动",
@@ -703,7 +729,8 @@
703729
"81",
704730
"82",
705731
"83",
706-
"84"
732+
"84",
733+
"85"
707734
],
708735
"type": "日志",
709736
"msg": "SeasLog高性能日志记录",
@@ -723,7 +750,8 @@
723750
"81",
724751
"82",
725752
"83",
726-
"84"
753+
"84",
754+
"85"
727755
],
728756
"type": "通用扩展",
729757
"msg": "用于需要多字节字符串处理的模块",
@@ -743,7 +771,8 @@
743771
"81",
744772
"82",
745773
"83",
746-
"84"
774+
"84",
775+
"85"
747776
],
748777
"type": "压缩",
749778
"msg": "压缩组件",
@@ -762,7 +791,8 @@
762791
"81",
763792
"82",
764793
"83",
765-
"84"
794+
"84",
795+
"85"
766796
],
767797
"type": "压缩",
768798
"msg": "压缩组件",

plugins/php-yum/info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "php-yum",
66
"title": "PHP[YUM]",
77
"coexist": true,
8-
"versions": ["74","80","81","82","83","84"],
8+
"versions": ["74","80","81","82","83","84","85"],
99
"install_pre_inspection":true,
1010
"tip": "soft",
1111
"checks": "server/php-yum/VERSION",
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/bin/bash
2+
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
3+
export PATH
4+
5+
curPath=`pwd`
6+
rootPath=$(dirname "$curPath")
7+
rootPath=$(dirname "$rootPath")
8+
serverPath=$(dirname "$rootPath")
9+
sourcePath=${serverPath}/source
10+
sysName=`uname`
11+
12+
version=8.5.x
13+
PHP_VER=85
14+
15+
16+
Install_php()
17+
{
18+
#------------------------ install start ------------------------------------#
19+
yum install -y php85 php85-php-fpm
20+
if [ "$?" == "0" ];then
21+
mkdir -p $serverPath/php-yum/${PHP_VER}
22+
fi
23+
24+
#------------------------ install end ------------------------------------#
25+
}
26+
27+
Uninstall_php()
28+
{
29+
yum remove -y php85 php85-php-fpm php85-*
30+
rm -rf $serverPath/php-yum/${PHP_VER}
31+
echo "卸载php-${version}..."
32+
}
33+
34+
action=${1}
35+
if [ "${1}" == 'install' ];then
36+
Install_php
37+
else
38+
Uninstall_php
39+
fi

plugins/php-yum/versions/lib.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,6 @@ elif [[ "$version" == '8.3' ]]; then
5656
echo '20230831'
5757
elif [[ "$version" == '8.4' ]]; then
5858
echo '20240924'
59+
elif [[ "$version" == '8.5' ]]; then
60+
echo '20250925'
5961
fi

0 commit comments

Comments
 (0)