From 9297c8480e9d31ca50db76627d497a15065145b0 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 3 Dec 2021 23:26:28 +0800 Subject: [PATCH] up --- plugins/php/versions/52/exif.sh | 10 ++++++---- plugins/php/versions/54/exif.sh | 10 ++++++---- plugins/php/versions/55/exif.sh | 10 ++++++---- plugins/php/versions/56/exif.sh | 10 ++++++---- plugins/php/versions/70/exif.sh | 10 ++++++---- plugins/php/versions/70/xhprof.sh | 2 +- plugins/php/versions/71/exif.sh | 10 ++++++---- plugins/php/versions/72/exif.sh | 10 ++++++---- plugins/php/versions/73/exif.sh | 10 ++++++---- plugins/php/versions/74/exif.sh | 10 ++++++---- plugins/php/versions/80/exif.sh | 10 ++++++---- plugins/php/versions/81/exif.sh | 10 ++++++---- 12 files changed, 67 insertions(+), 45 deletions(-) diff --git a/plugins/php/versions/52/exif.sh b/plugins/php/versions/52/exif.sh index 840996e74..f52c194c5 100755 --- a/plugins/php/versions/52/exif.sh +++ b/plugins/php/versions/52/exif.sh @@ -45,15 +45,17 @@ Install_lib() fi cd $sourcePath/php${version}/ext/${LIBNAME} + + $serverPath/php/$version/bin/phpize + ./configure --with-php-config=$serverPath/php/$version/bin/php-config FIND_C99=`cat Makefile|grep c99` if [ "$FIND_C99" == "" ];then sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile fi - - $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config - make && make install + + + make && make install && make clean fi diff --git a/plugins/php/versions/54/exif.sh b/plugins/php/versions/54/exif.sh index 840996e74..f52c194c5 100755 --- a/plugins/php/versions/54/exif.sh +++ b/plugins/php/versions/54/exif.sh @@ -45,15 +45,17 @@ Install_lib() fi cd $sourcePath/php${version}/ext/${LIBNAME} + + $serverPath/php/$version/bin/phpize + ./configure --with-php-config=$serverPath/php/$version/bin/php-config FIND_C99=`cat Makefile|grep c99` if [ "$FIND_C99" == "" ];then sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile fi - - $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config - make && make install + + + make && make install && make clean fi diff --git a/plugins/php/versions/55/exif.sh b/plugins/php/versions/55/exif.sh index 840996e74..f52c194c5 100755 --- a/plugins/php/versions/55/exif.sh +++ b/plugins/php/versions/55/exif.sh @@ -45,15 +45,17 @@ Install_lib() fi cd $sourcePath/php${version}/ext/${LIBNAME} + + $serverPath/php/$version/bin/phpize + ./configure --with-php-config=$serverPath/php/$version/bin/php-config FIND_C99=`cat Makefile|grep c99` if [ "$FIND_C99" == "" ];then sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile fi - - $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config - make && make install + + + make && make install && make clean fi diff --git a/plugins/php/versions/56/exif.sh b/plugins/php/versions/56/exif.sh index 840996e74..f52c194c5 100755 --- a/plugins/php/versions/56/exif.sh +++ b/plugins/php/versions/56/exif.sh @@ -45,15 +45,17 @@ Install_lib() fi cd $sourcePath/php${version}/ext/${LIBNAME} + + $serverPath/php/$version/bin/phpize + ./configure --with-php-config=$serverPath/php/$version/bin/php-config FIND_C99=`cat Makefile|grep c99` if [ "$FIND_C99" == "" ];then sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile fi - - $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config - make && make install + + + make && make install && make clean fi diff --git a/plugins/php/versions/70/exif.sh b/plugins/php/versions/70/exif.sh index 840996e74..f52c194c5 100755 --- a/plugins/php/versions/70/exif.sh +++ b/plugins/php/versions/70/exif.sh @@ -45,15 +45,17 @@ Install_lib() fi cd $sourcePath/php${version}/ext/${LIBNAME} + + $serverPath/php/$version/bin/phpize + ./configure --with-php-config=$serverPath/php/$version/bin/php-config FIND_C99=`cat Makefile|grep c99` if [ "$FIND_C99" == "" ];then sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile fi - - $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config - make && make install + + + make && make install && make clean fi diff --git a/plugins/php/versions/70/xhprof.sh b/plugins/php/versions/70/xhprof.sh index ea040b2b2..759081253 100755 --- a/plugins/php/versions/70/xhprof.sh +++ b/plugins/php/versions/70/xhprof.sh @@ -12,7 +12,7 @@ serverPath=$(dirname "$rootPath") sourcePath=${serverPath}/source/php LIBNAME=xhprof -LIBV=2.2.0 +LIBV=2.3.5 sysName=`uname` actionType=$1 version=$2 diff --git a/plugins/php/versions/71/exif.sh b/plugins/php/versions/71/exif.sh index 840996e74..f52c194c5 100755 --- a/plugins/php/versions/71/exif.sh +++ b/plugins/php/versions/71/exif.sh @@ -45,15 +45,17 @@ Install_lib() fi cd $sourcePath/php${version}/ext/${LIBNAME} + + $serverPath/php/$version/bin/phpize + ./configure --with-php-config=$serverPath/php/$version/bin/php-config FIND_C99=`cat Makefile|grep c99` if [ "$FIND_C99" == "" ];then sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile fi - - $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config - make && make install + + + make && make install && make clean fi diff --git a/plugins/php/versions/72/exif.sh b/plugins/php/versions/72/exif.sh index 840996e74..f52c194c5 100755 --- a/plugins/php/versions/72/exif.sh +++ b/plugins/php/versions/72/exif.sh @@ -45,15 +45,17 @@ Install_lib() fi cd $sourcePath/php${version}/ext/${LIBNAME} + + $serverPath/php/$version/bin/phpize + ./configure --with-php-config=$serverPath/php/$version/bin/php-config FIND_C99=`cat Makefile|grep c99` if [ "$FIND_C99" == "" ];then sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile fi - - $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config - make && make install + + + make && make install && make clean fi diff --git a/plugins/php/versions/73/exif.sh b/plugins/php/versions/73/exif.sh index 840996e74..f52c194c5 100755 --- a/plugins/php/versions/73/exif.sh +++ b/plugins/php/versions/73/exif.sh @@ -45,15 +45,17 @@ Install_lib() fi cd $sourcePath/php${version}/ext/${LIBNAME} + + $serverPath/php/$version/bin/phpize + ./configure --with-php-config=$serverPath/php/$version/bin/php-config FIND_C99=`cat Makefile|grep c99` if [ "$FIND_C99" == "" ];then sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile fi - - $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config - make && make install + + + make && make install && make clean fi diff --git a/plugins/php/versions/74/exif.sh b/plugins/php/versions/74/exif.sh index 840996e74..f52c194c5 100755 --- a/plugins/php/versions/74/exif.sh +++ b/plugins/php/versions/74/exif.sh @@ -45,15 +45,17 @@ Install_lib() fi cd $sourcePath/php${version}/ext/${LIBNAME} + + $serverPath/php/$version/bin/phpize + ./configure --with-php-config=$serverPath/php/$version/bin/php-config FIND_C99=`cat Makefile|grep c99` if [ "$FIND_C99" == "" ];then sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile fi - - $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config - make && make install + + + make && make install && make clean fi diff --git a/plugins/php/versions/80/exif.sh b/plugins/php/versions/80/exif.sh index 840996e74..f52c194c5 100755 --- a/plugins/php/versions/80/exif.sh +++ b/plugins/php/versions/80/exif.sh @@ -45,15 +45,17 @@ Install_lib() fi cd $sourcePath/php${version}/ext/${LIBNAME} + + $serverPath/php/$version/bin/phpize + ./configure --with-php-config=$serverPath/php/$version/bin/php-config FIND_C99=`cat Makefile|grep c99` if [ "$FIND_C99" == "" ];then sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile fi - - $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config - make && make install + + + make && make install && make clean fi diff --git a/plugins/php/versions/81/exif.sh b/plugins/php/versions/81/exif.sh index 840996e74..f52c194c5 100755 --- a/plugins/php/versions/81/exif.sh +++ b/plugins/php/versions/81/exif.sh @@ -45,15 +45,17 @@ Install_lib() fi cd $sourcePath/php${version}/ext/${LIBNAME} + + $serverPath/php/$version/bin/phpize + ./configure --with-php-config=$serverPath/php/$version/bin/php-config FIND_C99=`cat Makefile|grep c99` if [ "$FIND_C99" == "" ];then sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile fi - - $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config - make && make install + + + make && make install && make clean fi