diff --git a/plugins/php/versions/common/intl.sh b/plugins/php/versions/common/intl.sh index 0450ac269..fce18b129 100755 --- a/plugins/php/versions/common/intl.sh +++ b/plugins/php/versions/common/intl.sh @@ -27,6 +27,13 @@ else BAK='' 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() { @@ -45,7 +52,7 @@ Install_lib() cd $sourcePath/php${version}/ext/${LIBNAME} $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