mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
update
This commit is contained in:
@@ -85,6 +85,8 @@ fi
|
|||||||
OPTIONS='--without-iconv'
|
OPTIONS='--without-iconv'
|
||||||
if [ $sysName == 'Darwin' ]; then
|
if [ $sysName == 'Darwin' ]; then
|
||||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
||||||
|
else
|
||||||
|
OPTIONS="${OPTIONS} --with-readline"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
IS_64BIT=`getconf LONG_BIT`
|
IS_64BIT=`getconf LONG_BIT`
|
||||||
|
|||||||
@@ -66,9 +66,11 @@ fi
|
|||||||
# OPTIONS="${OPTIONS} --with-jpeg --with-jpeg-dir=/usr/lib"
|
# OPTIONS="${OPTIONS} --with-jpeg --with-jpeg-dir=/usr/lib"
|
||||||
OPTIONS='--without-iconv'
|
OPTIONS='--without-iconv'
|
||||||
|
|
||||||
# if [ $sysName == 'Darwin' ]; then
|
if [ $sysName == 'Darwin' ]; then
|
||||||
# OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
||||||
# fi
|
else
|
||||||
|
OPTIONS="${OPTIONS} --with-readline"
|
||||||
|
fi
|
||||||
|
|
||||||
IS_64BIT=`getconf LONG_BIT`
|
IS_64BIT=`getconf LONG_BIT`
|
||||||
if [ "$IS_64BIT" == "64" ];then
|
if [ "$IS_64BIT" == "64" ];then
|
||||||
@@ -113,6 +115,7 @@ if [ ! -d $serverPath/php/${PHP_VER}/bin ];then
|
|||||||
--with-mysql=mysqlnd \
|
--with-mysql=mysqlnd \
|
||||||
--with-pdo-mysql=mysqlnd \
|
--with-pdo-mysql=mysqlnd \
|
||||||
--with-mysqli=mysqlnd \
|
--with-mysqli=mysqlnd \
|
||||||
|
--enable-mbstring \
|
||||||
--enable-exif \
|
--enable-exif \
|
||||||
--enable-hash \
|
--enable-hash \
|
||||||
--enable-libxml \
|
--enable-libxml \
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ if [ $sysName == 'Darwin' ]; then
|
|||||||
# OPTIONS="${OPTIONS} --with-pcre-dir=${serverPath}/lib/pcre"
|
# OPTIONS="${OPTIONS} --with-pcre-dir=${serverPath}/lib/pcre"
|
||||||
# OPTIONS="${OPTIONS} --with-external-pcre=${serverPath}/lib/pcre"
|
# OPTIONS="${OPTIONS} --with-external-pcre=${serverPath}/lib/pcre"
|
||||||
else
|
else
|
||||||
OPTIONS="${OPTIONS} --enable-mbstring"
|
OPTIONS="${OPTIONS} --with-readline"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
IS_64BIT=`getconf LONG_BIT`
|
IS_64BIT=`getconf LONG_BIT`
|
||||||
@@ -116,6 +116,7 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||||||
--with-mysql=mysqlnd \
|
--with-mysql=mysqlnd \
|
||||||
--with-pdo-mysql=mysqlnd \
|
--with-pdo-mysql=mysqlnd \
|
||||||
--with-mysqli=mysqlnd \
|
--with-mysqli=mysqlnd \
|
||||||
|
--enable-mbstring \
|
||||||
--enable-sockets \
|
--enable-sockets \
|
||||||
--enable-ftp \
|
--enable-ftp \
|
||||||
--enable-simplexml \
|
--enable-simplexml \
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ OPTIONS='--without-iconv'
|
|||||||
if [ $sysName == 'Darwin' ]; then
|
if [ $sysName == 'Darwin' ]; then
|
||||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
||||||
else
|
else
|
||||||
OPTIONS="${OPTIONS} --enable-mbstring"
|
OPTIONS="${OPTIONS} --with-readline"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
IS_64BIT=`getconf LONG_BIT`
|
IS_64BIT=`getconf LONG_BIT`
|
||||||
@@ -116,6 +116,7 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||||||
--with-mysql=mysqlnd \
|
--with-mysql=mysqlnd \
|
||||||
--with-pdo-mysql=mysqlnd \
|
--with-pdo-mysql=mysqlnd \
|
||||||
--with-mysqli=mysqlnd \
|
--with-mysqli=mysqlnd \
|
||||||
|
--enable-mbstring \
|
||||||
--enable-simplexml \
|
--enable-simplexml \
|
||||||
--enable-sockets \
|
--enable-sockets \
|
||||||
--enable-ftp \
|
--enable-ftp \
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ if [ $sysName == 'Darwin' ]; then
|
|||||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
||||||
OPTIONS="${OPTIONS} --with-zlib-dir=$(brew --prefix zlib)"
|
OPTIONS="${OPTIONS} --with-zlib-dir=$(brew --prefix zlib)"
|
||||||
else
|
else
|
||||||
OPTIONS="${OPTIONS} --enable-mbstring"
|
OPTIONS="${OPTIONS} --with-readline"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
IS_64BIT=`getconf LONG_BIT`
|
IS_64BIT=`getconf LONG_BIT`
|
||||||
@@ -125,6 +125,7 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||||||
--with-mysql=mysqlnd \
|
--with-mysql=mysqlnd \
|
||||||
--with-pdo-mysql=mysqlnd \
|
--with-pdo-mysql=mysqlnd \
|
||||||
--with-mysqli=mysqlnd \
|
--with-mysqli=mysqlnd \
|
||||||
|
--enable-mbstring \
|
||||||
--enable-simplexml \
|
--enable-simplexml \
|
||||||
--enable-ftp \
|
--enable-ftp \
|
||||||
--enable-sockets \
|
--enable-sockets \
|
||||||
|
|||||||
@@ -61,6 +61,8 @@ OPTIONS='--without-iconv'
|
|||||||
if [ $sysName == 'Darwin' ]; then
|
if [ $sysName == 'Darwin' ]; then
|
||||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
||||||
# OPTIONS="${OPTIONS} --with-external-pcre=$(brew --prefix pcre2)"
|
# OPTIONS="${OPTIONS} --with-external-pcre=$(brew --prefix pcre2)"
|
||||||
|
else
|
||||||
|
OPTIONS="${OPTIONS} --with-readline"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
IS_64BIT=`getconf LONG_BIT`
|
IS_64BIT=`getconf LONG_BIT`
|
||||||
|
|||||||
@@ -62,6 +62,8 @@ OPTIONS='--without-iconv'
|
|||||||
if [ $sysName == 'Darwin' ]; then
|
if [ $sysName == 'Darwin' ]; then
|
||||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
||||||
OPTIONS="${OPTIONS} --with-external-pcre=$(brew --prefix pcre2)"
|
OPTIONS="${OPTIONS} --with-external-pcre=$(brew --prefix pcre2)"
|
||||||
|
else
|
||||||
|
OPTIONS="${OPTIONS} --with-readline"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
IS_64BIT=`getconf LONG_BIT`
|
IS_64BIT=`getconf LONG_BIT`
|
||||||
|
|||||||
@@ -58,8 +58,12 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
OPTIONS='--without-iconv'
|
OPTIONS='--without-iconv'
|
||||||
OPTIONS="${OPTIONS} --with-zlib-dir=$serverPath/lib/zlib"
|
if [ $sysName == 'Darwin' ]; then
|
||||||
|
OPTIONS="${OPTIONS} --with-curl=$(brew --prefix curl)"
|
||||||
|
OPTIONS="${OPTIONS} --with-pcre-dir=$(brew --prefix pcre2)"
|
||||||
|
else
|
||||||
|
OPTIONS="${OPTIONS} --with-readline"
|
||||||
|
fi
|
||||||
IS_64BIT=`getconf LONG_BIT`
|
IS_64BIT=`getconf LONG_BIT`
|
||||||
if [ "$IS_64BIT" == "64" ];then
|
if [ "$IS_64BIT" == "64" ];then
|
||||||
OPTIONS="${OPTIONS} --with-libdir=lib64"
|
OPTIONS="${OPTIONS} --with-libdir=lib64"
|
||||||
|
|||||||
@@ -70,7 +70,6 @@ if [ $sysName == 'Darwin' ]; then
|
|||||||
OPTIONS="${OPTIONS} --with-curl=$(brew --prefix curl)"
|
OPTIONS="${OPTIONS} --with-curl=$(brew --prefix curl)"
|
||||||
OPTIONS="${OPTIONS} --with-pcre-dir=$(brew --prefix pcre2)"
|
OPTIONS="${OPTIONS} --with-pcre-dir=$(brew --prefix pcre2)"
|
||||||
else
|
else
|
||||||
OPTIONS="${OPTIONS} --with-zlib-dir=$serverPath/lib/zlib"
|
|
||||||
OPTIONS="${OPTIONS} --with-readline"
|
OPTIONS="${OPTIONS} --with-readline"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,10 @@ version=$2
|
|||||||
LIBNAME=readline
|
LIBNAME=readline
|
||||||
LIBV=0
|
LIBV=0
|
||||||
|
|
||||||
|
if [ "$version" -lt "74" ];then
|
||||||
|
echo "not need"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
LIB_PATH_NAME=lib/php
|
LIB_PATH_NAME=lib/php
|
||||||
if [ -d $serverPath/php/${version}/lib64 ];then
|
if [ -d $serverPath/php/${version}/lib64 ];then
|
||||||
@@ -65,14 +68,8 @@ Install_lib()
|
|||||||
|
|
||||||
cd ${rootPath}/plugins/php/lib && /bin/bash libedit.sh
|
cd ${rootPath}/plugins/php/lib && /bin/bash libedit.sh
|
||||||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${serverPath}/lib/libedit/lib/pkgconfig
|
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${serverPath}/lib/libedit/lib/pkgconfig
|
||||||
|
|
||||||
|
|
||||||
OPTIONS="$OPTIONS --with-libedit=${serverPath}/lib/libedit"
|
OPTIONS="$OPTIONS --with-libedit=${serverPath}/lib/libedit"
|
||||||
|
|
||||||
readlinelib=`pkg-config --path readline`
|
|
||||||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${serverPath}/lib/libedit/lib/pkgconfig
|
|
||||||
OPTIONS="$OPTIONS --with-libedit=${serverPath}/lib/libedit"
|
|
||||||
|
|
||||||
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 $OPTIONS
|
./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS
|
||||||
|
|||||||
@@ -440,15 +440,6 @@
|
|||||||
{
|
{
|
||||||
"name": "readline",
|
"name": "readline",
|
||||||
"versions": [
|
"versions": [
|
||||||
"52",
|
|
||||||
"53",
|
|
||||||
"54",
|
|
||||||
"55",
|
|
||||||
"56",
|
|
||||||
"70",
|
|
||||||
"71",
|
|
||||||
"72",
|
|
||||||
"73",
|
|
||||||
"74",
|
"74",
|
||||||
"80",
|
"80",
|
||||||
"81",
|
"81",
|
||||||
|
|||||||
Reference in New Issue
Block a user