diff --git a/plugins/php/versions/53/install.sh b/plugins/php/versions/53/install.sh index 8f3e13be9..feb326607 100755 --- a/plugins/php/versions/53/install.sh +++ b/plugins/php/versions/53/install.sh @@ -12,6 +12,7 @@ SYS_ARCH=`arch` version=5.3.29 PHP_VER=53 +md5_file_ok=dcff9c881fe436708c141cfc56358075 Install_php() { #------------------------ install start ------------------------------------# @@ -43,7 +44,6 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=dcff9c881fe436708c141cfc56358075 if [ -f $sourcePath/php/php-${version}.tar.xz ];then md5_file=`md5sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` if [ "${md5_file}" != "${md5_file_ok}" ]; then diff --git a/plugins/php/versions/54/install.sh b/plugins/php/versions/54/install.sh index d497fc791..1c57bd48d 100755 --- a/plugins/php/versions/54/install.sh +++ b/plugins/php/versions/54/install.sh @@ -12,6 +12,7 @@ SYS_ARCH=`arch` version=5.4.45 PHP_VER=54 +md5_file_ok=ba580e774ed1ab256f22d1fa69a59311 Install_php() { #------------------------ install start ------------------------------------# @@ -44,7 +45,6 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=ba580e774ed1ab256f22d1fa69a59311 if [ -f $sourcePath/php/php-${version}.tar.xz ];then md5_file=`md5sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` if [ "${md5_file}" != "${md5_file_ok}" ]; then diff --git a/plugins/php/versions/55/install.sh b/plugins/php/versions/55/install.sh index 511a8796f..d5cad76e8 100755 --- a/plugins/php/versions/55/install.sh +++ b/plugins/php/versions/55/install.sh @@ -12,6 +12,7 @@ SYS_ARCH=`arch` version=5.5.38 PHP_VER=55 +md5_file_ok=72302e26f153687e2ca922909f927443 Install_php() { #------------------------ install start ------------------------------------# @@ -44,7 +45,6 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=72302e26f153687e2ca922909f927443 if [ -f $sourcePath/php/php-${version}.tar.xz ];then md5_file=`md5sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` if [ "${md5_file}" != "${md5_file_ok}" ]; then diff --git a/plugins/php/versions/56/install.sh b/plugins/php/versions/56/install.sh index 675d53dce..f89badba9 100755 --- a/plugins/php/versions/56/install.sh +++ b/plugins/php/versions/56/install.sh @@ -14,7 +14,7 @@ SYS_ARCH=`arch` version=5.6.40 PHP_VER=56 - +md5_file_ok=c7dde3afb16ce7b761abf2805125d372 Install_php() { #------------------------ install start ------------------------------------# @@ -47,7 +47,6 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=c7dde3afb16ce7b761abf2805125d372 if [ -f $sourcePath/php/php-${version}.tar.xz ];then md5_file=`md5sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` if [ "${md5_file}" != "${md5_file_ok}" ]; then diff --git a/plugins/php/versions/70/install.sh b/plugins/php/versions/70/install.sh index 257c00134..f97d34be7 100755 --- a/plugins/php/versions/70/install.sh +++ b/plugins/php/versions/70/install.sh @@ -12,6 +12,7 @@ SYS_ARCH=`arch` version=7.0.33 PHP_VER=70 +md5_file_ok=a6d7c355d023301a1a9ec8b4f32a4856 Install_php() { #------------------------ install start ------------------------------------# @@ -44,7 +45,6 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=a6d7c355d023301a1a9ec8b4f32a4856 if [ -f $sourcePath/php/php-${version}.tar.xz ];then md5_file=`md5sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` if [ "${md5_file}" != "${md5_file_ok}" ]; then diff --git a/plugins/php/versions/71/install.sh b/plugins/php/versions/71/install.sh index 05bf6269b..e57cb7f5b 100755 --- a/plugins/php/versions/71/install.sh +++ b/plugins/php/versions/71/install.sh @@ -12,6 +12,8 @@ SYS_ARCH=`arch` version=7.1.33 PHP_VER=71 + +md5_file_ok=b27bb5ce72995bc0ea56276e156be889 Install_php() { #------------------------ install start ------------------------------------# @@ -44,7 +46,6 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=b27bb5ce72995bc0ea56276e156be889 if [ -f $sourcePath/php/php-${version}.tar.xz ];then md5_file=`md5sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` if [ "${md5_file}" != "${md5_file_ok}" ]; then diff --git a/plugins/php/versions/72/install.sh b/plugins/php/versions/72/install.sh index 01676718b..e2fb4ed75 100755 --- a/plugins/php/versions/72/install.sh +++ b/plugins/php/versions/72/install.sh @@ -12,6 +12,7 @@ SYS_ARCH=`arch` version=7.2.31 PHP_VER=72 +md5_file_ok=968adcb8d0c5652b6e191b025fc8ba41 Install_php() { #------------------------ install start ------------------------------------# @@ -44,7 +45,6 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=968adcb8d0c5652b6e191b025fc8ba41 if [ -f $sourcePath/php/php-${version}.tar.xz ];then md5_file=`md5sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` if [ "${md5_file}" != "${md5_file_ok}" ]; then diff --git a/plugins/php/versions/73/install.sh b/plugins/php/versions/73/install.sh index d33c1eeb0..9111fe49f 100755 --- a/plugins/php/versions/73/install.sh +++ b/plugins/php/versions/73/install.sh @@ -12,6 +12,7 @@ SYS_ARCH=`arch` version=7.3.33 PHP_VER=73 +md5_file_ok=eeabb2140c04da85c86389197421f890 Install_php() { #------------------------ install start ------------------------------------# @@ -44,7 +45,6 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=eeabb2140c04da85c86389197421f890 if [ -f $sourcePath/php/php-${version}.tar.xz ];then md5_file=`md5sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` if [ "${md5_file}" != "${md5_file_ok}" ]; then diff --git a/plugins/php/versions/74/install.sh b/plugins/php/versions/74/install.sh index 99bc26a6d..f11be5134 100755 --- a/plugins/php/versions/74/install.sh +++ b/plugins/php/versions/74/install.sh @@ -11,6 +11,7 @@ sysName=`uname` version=7.4.26 PHP_VER=74 +md5_file_ok=0cbaae3de6c02cf8d7b82843fdfdf53d Install_php() { #------------------------ install start ------------------------------------# @@ -52,7 +53,6 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=0cbaae3de6c02cf8d7b82843fdfdf53d if [ -f $sourcePath/php/php-${version}.tar.xz ];then md5_file=`md5sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` if [ "${md5_file}" != "${md5_file_ok}" ]; then diff --git a/plugins/php/versions/80/install.sh b/plugins/php/versions/80/install.sh index 22a5cd653..cf579e517 100755 --- a/plugins/php/versions/80/install.sh +++ b/plugins/php/versions/80/install.sh @@ -11,6 +11,7 @@ sysName=`uname` version=8.0.30 PHP_VER=80 +md5_file_ok=216ab305737a5d392107112d618a755dc5df42058226f1670e9db90e77d777d9 Install_php() { #------------------------ install start ------------------------------------# @@ -49,7 +50,6 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=216ab305737a5d392107112d618a755dc5df42058226f1670e9db90e77d777d9 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/81/install.sh b/plugins/php/versions/81/install.sh index 3bc56604a..9e825c2aa 100755 --- a/plugins/php/versions/81/install.sh +++ b/plugins/php/versions/81/install.sh @@ -11,6 +11,7 @@ sysName=`uname` version=8.1.32 PHP_VER=81 +md5_file_ok=c582ac682a280bbc69bc2186c21eb7e3313cc73099be61a6bc1d2cd337cbf383 Install_php() { #------------------------ install start ------------------------------------# @@ -47,9 +48,8 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then 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 fi - + #检测文件是否损坏. - md5_file_ok=c582ac682a280bbc69bc2186c21eb7e3313cc73099be61a6bc1d2cd337cbf383 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 6e0c03e2d..43a3d6f4f 100755 --- a/plugins/php/versions/82/install.sh +++ b/plugins/php/versions/82/install.sh @@ -11,6 +11,7 @@ sysName=`uname` version=8.2.28 PHP_VER=82 +md5_file_ok=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91 Install_php() { #------------------------ install start ------------------------------------# @@ -44,13 +45,11 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then 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 fi #检测文件是否损坏. - md5_file_ok=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91 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/83/install.sh b/plugins/php/versions/83/install.sh index 30e81cb52..742bf4fc9 100755 --- a/plugins/php/versions/83/install.sh +++ b/plugins/php/versions/83/install.sh @@ -11,6 +11,7 @@ sysName=`uname` version=8.3.21 PHP_VER=83 +md5_file_ok=4dfb329f209a552c3716394fc123bb62e80a468b55ce27fc8cb0fd5f30b9dcd6 Install_php() { #------------------------ install start ------------------------------------# @@ -48,9 +49,8 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then 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 fi - + #检测文件是否损坏. - md5_file_ok=4dfb329f209a552c3716394fc123bb62e80a468b55ce27fc8cb0fd5f30b9dcd6 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/84/install.sh b/plugins/php/versions/84/install.sh index b4d7ec31c..70a3205c5 100755 --- a/plugins/php/versions/84/install.sh +++ b/plugins/php/versions/84/install.sh @@ -11,6 +11,7 @@ sysName=`uname` version=8.4.7 PHP_VER=84 +md5_file_ok=e29f4c23be2816ed005aa3f06bbb8eae0f22cc133863862e893515fc841e65e3 Install_php() { #------------------------ install start ------------------------------------# @@ -50,7 +51,6 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then fi #检测文件是否损坏. - md5_file_ok=e29f4c23be2816ed005aa3f06bbb8eae0f22cc133863862e893515fc841e65e3 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