Update intl.sh

pull/123/head
midoks 3 years ago
parent be443ad086
commit 15d609d02b
  1. 9
      plugins/php/versions/common/intl.sh

@ -27,6 +27,13 @@ else
BAK='' BAK=''
fi fi
OPTIONS=''
if [ "$version" -lt "70" ];then
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash icu.sh
OPTIONS="--with-icu-dir=${serverPath}/lib/icu"
fi
Install_lib() Install_lib()
{ {
@ -45,7 +52,7 @@ Install_lib()
cd $sourcePath/php${version}/ext/${LIBNAME} cd $sourcePath/php${version}/ext/${LIBNAME}
$serverPath/php/$version/bin/phpize $serverPath/php/$version/bin/phpize
./configure --with-php-config=$serverPath/php/$version/bin/php-config ./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS
make && make install && make clean make && make install && make clean

Loading…
Cancel
Save