|
|
|
@ -35,19 +35,21 @@ Install_lib() |
|
|
|
|
return |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash icu.sh |
|
|
|
|
|
|
|
|
|
if [ ! -f "$extFile" ];then |
|
|
|
|
|
|
|
|
|
php_lib=$sourcePath/php_lib |
|
|
|
|
mkdir -p $php_lib |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wget -O $php_lib/${LIBNAME}-${LIBV}.tgz http://pecl.php.net/get/${LIBNAME}-${LIBV}.tgz |
|
|
|
|
|
|
|
|
|
cd $php_lib && tar xvf ${LIBNAME}-${LIBV}.tgz |
|
|
|
|
cd ${LIBNAME}-${LIBV} |
|
|
|
|
$serverPath/php/$version/bin/phpize |
|
|
|
|
./configure --with-php-config=$serverPath/php/$version/bin/php-config |
|
|
|
|
make && make install && make clean |
|
|
|
|
./configure --with-php-config=$serverPath/php/$version/bin/php-config \ |
|
|
|
|
--with-icu-dir=${serverPath}/lib/icu |
|
|
|
|
make clean && make && make install && make clean |
|
|
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|