From 00b978dd707882283cff3739d34bd5b7a9e2b6bd Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 2 Nov 2022 18:24:20 +0800 Subject: [PATCH] Update apcu.sh --- plugins/php/versions/common/apcu.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/php/versions/common/apcu.sh b/plugins/php/versions/common/apcu.sh index 4b62ce0b4..f756c5e0f 100755 --- a/plugins/php/versions/common/apcu.sh +++ b/plugins/php/versions/common/apcu.sh @@ -12,7 +12,7 @@ serverPath=$(dirname "$rootPath") sourcePath=${serverPath}/source/php LIBNAME=apcu -_LIBNAME=$(echo $LIBNAME | tr '[a-z]' '[A-Z]') +# _LIBNAME=$(echo $LIBNAME | tr '[a-z]' '[A-Z]') LIBV=5.1.22 sysName=`uname` actionType=$1 @@ -39,11 +39,11 @@ Install_lib() php_lib=$sourcePath/php_lib mkdir -p $php_lib - if [ ! -d $php_lib/${_LIBNAME}-${LIBV} ];then - wget -O $php_lib/${LIBNAME}-${LIBV}.tgz http://pecl.php.net/get/${_LIBNAME}-${LIBV}.tgz + if [ ! -d $php_lib/${LIBNAME}-${LIBV} ];then + wget -O $php_lib/${LIBNAME}-${LIBV}.tgz http://pecl.php.net/get/${LIBNAME}-${LIBV}.tgz cd $php_lib && tar xvf ${LIBNAME}-${LIBV}.tgz fi - cd $php_lib/${_LIBNAME}-${LIBV} + cd $php_lib/${LIBNAME}-${LIBV} $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config