From 9f59f479a2cbede4bc900eb179426f10bd357583 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 10 Nov 2023 20:18:15 +0800 Subject: [PATCH] update --- plugins/php/versions/common/intl.sh | 6 +++--- plugins/php/versions/common/xdebug.sh | 3 +-- scripts/install/macos.sh | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/plugins/php/versions/common/intl.sh b/plugins/php/versions/common/intl.sh index 0aa5c2732..c3be5072d 100755 --- a/plugins/php/versions/common/intl.sh +++ b/plugins/php/versions/common/intl.sh @@ -103,9 +103,9 @@ Install_lib() ./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS make clean && make && make install && make clean - # if [ -d $sourcePath/php${version} ];then - # cd ${sourcePath} && rm -rf $sourcePath/php${version} - # fi + if [ -d $sourcePath/php${version} ];then + cd ${sourcePath} && rm -rf $sourcePath/php${version} + fi fi if [ ! -f "$extFile" ];then diff --git a/plugins/php/versions/common/xdebug.sh b/plugins/php/versions/common/xdebug.sh index eac5ec660..06e88bb4d 100755 --- a/plugins/php/versions/common/xdebug.sh +++ b/plugins/php/versions/common/xdebug.sh @@ -26,8 +26,7 @@ if [ "$version" -eq "70" ] || [ "$version" -eq "71" ];then fi if [ "$version" -eq "82" ];then - echo "not need" - exit 1 + LIBV=3.2.2 fi LIB_PATH_NAME=lib/php diff --git a/scripts/install/macos.sh b/scripts/install/macos.sh index 61a969364..c6220cdbd 100755 --- a/scripts/install/macos.sh +++ b/scripts/install/macos.sh @@ -28,7 +28,7 @@ brew install librdkafka brew install coreutils libxml2 xml2 brew install md5sum libevent pidof bison brew install pcre2 libxpm libelf -brew install automake icu4c +brew install automake icu4c libmemcached if [ ! -d $DEV/server/mdserver-web ]; then wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master