This commit is contained in:
midoks 2022-07-16 14:01:56 +08:00
parent f8acbaa417
commit 64c3921799
5 changed files with 8 additions and 4 deletions

View File

@ -23,7 +23,7 @@ mkdir -p $serverPath/php
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash freetype_old.sh
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash libiconv.sh
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash zlib.sh
# cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash libzip.sh
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash libzip.sh
if [ ! -d $sourcePath/php/php${PHP_VER} ];then

View File

@ -23,7 +23,7 @@ mkdir -p $serverPath/php
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash freetype_new.sh
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash libiconv.sh
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash zlib.sh
# cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash libzip.sh
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash libzip.sh
if [ ! -d $sourcePath/php/php${PHP_VER} ];then
@ -53,6 +53,7 @@ else
OPTIONS='--without-iconv'
# OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
OPTIONS="${OPTIONS} --with-curl"
OPTIONS="${OPTIONS} --with-libzip=${serverPath}/lib/libzip"
fi
IS_64BIT=`getconf LONG_BIT`

View File

@ -23,7 +23,7 @@ mkdir -p $serverPath/php
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash freetype_new.sh
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash libiconv.sh
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash zlib.sh
# cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash libzip.sh
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash libzip.sh
if [ ! -d $sourcePath/php/php${PHP_VER} ];then
@ -51,6 +51,7 @@ else
OPTIONS='--without-iconv'
# OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
OPTIONS="${OPTIONS} --with-curl"
OPTIONS="${OPTIONS} --with-libzip=${serverPath}/lib/libzip"
fi
IS_64BIT=`getconf LONG_BIT`

View File

@ -23,7 +23,7 @@ mkdir -p $serverPath/php
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash freetype_new.sh
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash libiconv.sh
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash zlib.sh
# cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash libzip.sh
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash libzip.sh
if [ ! -d $sourcePath/php/php${PHP_VER} ];then
@ -51,6 +51,7 @@ if [ $sysName == 'Darwin' ]; then
else
OPTIONS='--without-iconv'
OPTIONS="${OPTIONS} --with-curl"
OPTIONS="${OPTIONS} --with-libzip=${serverPath}/lib/libzip"
fi

View File

@ -45,6 +45,7 @@ if [ $sysName == 'Darwin' ]; then
else
OPTIONS='--without-iconv'
OPTIONS="${OPTIONS} --with-curl"
OPTIONS="${OPTIONS} --with-libzip=${serverPath}/lib/libzip"
fi
IS_64BIT=`getconf LONG_BIT`