Merge pull request #841 from midoks/dev

PHP8.5正式版
This commit is contained in:
Mr Chen
2025-11-22 13:37:01 +08:00
committed by GitHub
4 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -9,9 +9,9 @@ serverPath=$(dirname "$rootPath")
sourcePath=${serverPath}/source
sysName=`uname`
version=8.3.23
version=8.3.28
PHP_VER=83
md5_file_ok=08be64700f703bca6ff1284bf1fdaffa37ae1b9734b6559f8350248e8960a6db
md5_file_ok=25e3860f30198a386242891c0bf9e2955931f7b666b96c3e3103d36a2a322326
Install_php()
{
#------------------------ install start ------------------------------------#
+2 -2
View File
@@ -9,9 +9,9 @@ serverPath=$(dirname "$rootPath")
sourcePath=${serverPath}/source
sysName=`uname`
version=8.4.10
version=8.4.15
PHP_VER=84
md5_file_ok=14983a9ef8800e6bc2d920739fd386054402f7976ca9cd7f711509496f0d2632
md5_file_ok=a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e
Install_php()
{
#------------------------ install start ------------------------------------#
+17 -17
View File
@@ -9,9 +9,9 @@ serverPath=$(dirname "$rootPath")
sourcePath=${serverPath}/source
sysName=`uname`
version=8.5.0beta1
version=8.5.0
PHP_VER=85
# md5_file_ok=14983a9ef8800e6bc2d920739fd386054402f7976ca9cd7f711509496f0d2632
md5_file_ok=39cb6e4acd679b574d3d3276f148213e935fc25f90403eb84fb1b836a806ef1e
Install_php()
{
#------------------------ install start ------------------------------------#
@@ -30,25 +30,25 @@ fi
if [ ! -d $sourcePath/php/php${PHP_VER} ];then
# # ----------------------------------------------------------------------- #
# # 中国优化安装
# cn=$(curl -fsSL -m 10 -s http://ipinfo.io/json | grep "\"country\": \"CN\"")
# LOCAL_ADDR=common
# if [ ! -z "$cn" ];then
# LOCAL_ADDR=cn
# fi
# ----------------------------------------------------------------------- #
# 中国优化安装
cn=$(curl -fsSL -m 10 -s http://ipinfo.io/json | grep "\"country\": \"CN\"")
LOCAL_ADDR=common
if [ ! -z "$cn" ];then
LOCAL_ADDR=cn
fi
# if [ "$LOCAL_ADDR" == "cn" ];then
# if [ ! -f $sourcePath/php/php-${version}.tar.xz ];then
# wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.xz https://mirrors.nju.edu.cn/php/php-${version}.tar.xz
# fi
# fi
# # ----------------------------------------------------------------------- #
if [ "$LOCAL_ADDR" == "cn" ];then
if [ ! -f $sourcePath/php/php-${version}.tar.xz ];then
wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.xz https://mirrors.nju.edu.cn/php/php-${version}.tar.xz
fi
fi
# ----------------------------------------------------------------------- #
if [ ! -f $sourcePath/php/php-${version}.tar.xz ];then
# wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.xz https://www.php.net/distributions/php-${version}.tar.xz
wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.xz https://downloads.php.net/~edorian/php-${version}.tar.xz
wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.xz https://www.php.net/distributions/php-${version}.tar.xz
# wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.xz https://downloads.php.net/~edorian/php-${version}.tar.xz
fi
#检测文件是否损坏.
+1 -1
View File
@@ -4,7 +4,7 @@
"name": "redis",
"title": "Redis",
"shell": "install.sh",
"versions":["4.0.14","5.0.14","6.0.20","6.2.16","7.0.15","7.2.9", "7.4.6", "8.0.4", "8.2.2"],
"versions":["4.0.14","5.0.14","6.0.20","6.2.16","7.0.15","7.2.9", "7.4.7", "8.0.5", "8.2.3"],
"tip": "soft",
"checks": "server/redis",
"path": "server/redis",