php优化

This commit is contained in:
dami 2025-05-25 00:14:07 +08:00
parent 5594cbd1a8
commit 96c75eb2d3
14 changed files with 17 additions and 18 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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