Skip to content

Commit

Permalink
feat: 更新redis和php版本
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Jun 8, 2024
1 parent 688801e commit e941ab6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions scripts/php/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ if [ "${phpVersion}" == "74" ]; then
elif [ "${phpVersion}" == "80" ]; then
phpVersionCode="8.0.30"
elif [ "${phpVersion}" == "81" ]; then
phpVersionCode="8.1.28"
phpVersionCode="8.1.29"
elif [ "${phpVersion}" == "82" ]; then
phpVersionCode="8.2.19"
phpVersionCode="8.2.20"
elif [ "${phpVersion}" == "83" ]; then
phpVersionCode="8.3.7"
phpVersionCode="8.3.8"
else
echo -e $HR
echo "错误:PHP-${phpVersion}不支持,请检查版本号是否正确。"
Expand Down
2 changes: 1 addition & 1 deletion scripts/redis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } ||
downloadUrl="https://dl.cdn.haozi.net/panel/redis"
setupPath="/www"
redisPath="${setupPath}/server/redis"
redisVersion="7.2.4"
redisVersion="7.2.5"
cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l)

if ! id -u "redis" > /dev/null 2>&1; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/redis/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } ||
downloadUrl="https://dl.cdn.haozi.net/panel/redis"
setupPath="/www"
redisPath="${setupPath}/server/redis"
redisVersion="7.2.4"
redisVersion="7.2.5"
cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l)

# 读取信息
Expand Down
8 changes: 4 additions & 4 deletions types/plugin_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ var PluginPHP81 = Plugin{
Name: "PHP-8.1",
Description: "PHP 是一种创建动态交互性站点的强有力的服务器端脚本语言。",
Slug: "php81",
Version: "8.1.28",
Version: "8.1.29",
Requires: []string{},
Excludes: []string{},
Install: `bash /www/panel/scripts/php/install.sh 81`,
Expand All @@ -112,7 +112,7 @@ var PluginPHP82 = Plugin{
Name: "PHP-8.2",
Description: "PHP 是一种创建动态交互性站点的强有力的服务器端脚本语言。",
Slug: "php82",
Version: "8.2.19",
Version: "8.2.20",
Requires: []string{},
Excludes: []string{},
Install: `bash /www/panel/scripts/php/install.sh 82`,
Expand All @@ -124,7 +124,7 @@ var PluginPHP83 = Plugin{
Name: "PHP-8.3",
Description: "PHP 是一种创建动态交互性站点的强有力的服务器端脚本语言。",
Slug: "php83",
Version: "8.3.7",
Version: "8.3.8",
Requires: []string{},
Excludes: []string{},
Install: `bash /www/panel/scripts/php/install.sh 83`,
Expand Down Expand Up @@ -160,7 +160,7 @@ var PluginRedis = Plugin{
Name: "Redis",
Description: "Redis 是一个开源的使用 ANSI C 语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value 数据库,并提供多种语言的 API。",
Slug: "redis",
Version: "7.2.4",
Version: "7.2.5",
Requires: []string{},
Excludes: []string{},
Install: `bash /www/panel/scripts/redis/install.sh`,
Expand Down

0 comments on commit e941ab6

Please sign in to comment.