diff --git a/plugins/php/versions/54/apc.sh b/plugins/php/versions/54/apc.sh index d1475f843..895a38be8 100755 --- a/plugins/php/versions/54/apc.sh +++ b/plugins/php/versions/54/apc.sh @@ -12,6 +12,7 @@ serverPath=$(dirname "$rootPath") sourcePath=${serverPath}/source/php LIBNAME=apc +_LIBNAME=$(echo $LIBNAME | tr '[a-z]' '[A-Z]') LIBV=3.1.9 sysName=`uname` actionType=$1 @@ -36,12 +37,12 @@ Install_lib() php_lib=$sourcePath/php_lib mkdir -p $php_lib - if [ ! -d $php_lib/${LIBNAME}-${LIBV} ];then + if [ ! -d $php_lib/${_LIBNAME}-${LIBV} ];then _LIBNAME=$(echo $LIBNAME | tr '[a-z]' '[A-Z]') 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