From d604c966b23f1c833c28e10041515081396c83ef Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 29 Nov 2024 02:47:43 +0800 Subject: [PATCH] update --- plugins/php/versions/81/install.sh | 4 ++-- plugins/php/versions/82/install.sh | 13 +++---------- plugins/php/versions/83/install.sh | 4 ++-- 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/plugins/php/versions/81/install.sh b/plugins/php/versions/81/install.sh index aef036d86..cf65d0da4 100755 --- a/plugins/php/versions/81/install.sh +++ b/plugins/php/versions/81/install.sh @@ -15,7 +15,7 @@ function version_lt() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" function version_ge() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" == "$1"; } -version=8.1.30 +version=8.1.31 PHP_VER=81 Install_php() { @@ -55,7 +55,7 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=f24a6007f0b25a53cb7fbaee69c85017e0345b62089c2425a0afb7e177192ed1 + md5_file_ok=c4f244d46ba51c72f7d13d4f66ce6a9e9a8d6b669c51be35e01765ba58e7afca if [ -f $sourcePath/php/php-${version}.tar.xz ];then md5_file=`sha256sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` if [ "${md5_file}" != "${md5_file_ok}" ]; then diff --git a/plugins/php/versions/82/install.sh b/plugins/php/versions/82/install.sh index b10c42953..28405bcbc 100755 --- a/plugins/php/versions/82/install.sh +++ b/plugins/php/versions/82/install.sh @@ -15,7 +15,7 @@ function version_lt() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" function version_ge() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" == "$1"; } -version=8.2.24 +version=8.2.26 PHP_VER=82 Install_php() { @@ -56,7 +56,7 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=80a5225746a9eb484475b312d4c626c63a88a037d8e56d214f30205e1ba1411a + md5_file_ok=54747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef if [ -f $sourcePath/php/php-${version}.tar.xz ];then md5_file=`sha256sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` if [ "${md5_file}" != "${md5_file_ok}" ]; then @@ -72,12 +72,6 @@ fi cd $sourcePath/php/php${PHP_VER} OPTIONS='--without-iconv' -# if [ $sysName == 'Darwin' ]; then -# BREW_DIR=`which brew` -# BREW_DIR=${BREW_DIR/\/bin\/brew/} -# LIB_DEPEND_DIR=`brew info curl | grep ${BREW_DIR}/Cellar/curl | cut -d \ -f 1 | awk 'END {print}'` -# OPTIONS="${OPTIONS} --with-curl=$LIB_DEPEND_DIR" -# fi IS_64BIT=`getconf LONG_BIT` if [ "$IS_64BIT" == "64" ];then @@ -123,8 +117,7 @@ if version_lt "$libzip_version" "0.11.0" ;then fi -echo "$sourcePath/php/php${PHP_VER}" - +# echo "$sourcePath/php/php${PHP_VER}" if [ ! -d $serverPath/php/${PHP_VER} ];then cd $sourcePath/php/php${PHP_VER} ./buildconf --force diff --git a/plugins/php/versions/83/install.sh b/plugins/php/versions/83/install.sh index 334864df3..fb703e87b 100755 --- a/plugins/php/versions/83/install.sh +++ b/plugins/php/versions/83/install.sh @@ -14,7 +14,7 @@ function version_le() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" function version_lt() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" != "$1"; } function version_ge() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" == "$1"; } -version=8.3.12 +version=8.3.14 PHP_VER=83 Install_php() { @@ -55,7 +55,7 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=f774e28633e26fc8c5197f4dae58ec9e3ff87d1b4311cbc61ab05a7ad24bd131 + md5_file_ok=58b4cb9019bf70c0cbcdb814c7df79b9065059d14cf7dbf48d971f8e56ae9be7 if [ -f $sourcePath/php/php-${version}.tar.xz ];then md5_file=`sha256sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` if [ "${md5_file}" != "${md5_file_ok}" ]; then