Update apcu.sh

pull/240/head
midoks 3 years ago
parent fd23a4c572
commit 00b978dd70
  1. 8
      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

Loading…
Cancel
Save