Update apc.sh

This commit is contained in:
midoks 2020-07-14 12:55:43 +08:00
parent bec8b5a508
commit ff4176bf73
1 changed files with 2 additions and 2 deletions

View File

@ -37,12 +37,12 @@ Install_lib()
_LIBNAME=$(echo $LIBNAME | tr '[a-z]' '[A-Z]')
php_lib=$sourcePath/php_lib
mkdir -p $php_lib
if [ ! -d $php_lib/${LIBNAME}-${LIBV} ];then
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