update
This commit is contained in:
parent
3206e62583
commit
b189241745
|
|
@ -105,8 +105,6 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||
--prefix=$serverPath/php/${PHP_VER} \
|
||||
--exec-prefix=$serverPath/php/${PHP_VER} \
|
||||
--with-config-file-path=$serverPath/php/${PHP_VER}/etc \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
--enable-zip \
|
||||
--enable-xml \
|
||||
--enable-shared \
|
||||
--with-mysql=mysqlnd \
|
||||
|
|
|
|||
|
|
@ -109,12 +109,10 @@ if [ ! -d $serverPath/php/${PHP_VER}/bin ];then
|
|||
--prefix=$serverPath/php/${PHP_VER} \
|
||||
--exec-prefix=$serverPath/php/${PHP_VER} \
|
||||
--with-config-file-path=$serverPath/php/${PHP_VER}/etc \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
--enable-mysqlnd \
|
||||
--with-mysql=mysqlnd \
|
||||
--with-pdo-mysql=mysqlnd \
|
||||
--with-mysqli=mysqlnd \
|
||||
--enable-zip \
|
||||
--enable-exif \
|
||||
--enable-hash \
|
||||
--enable-libxml \
|
||||
|
|
|
|||
|
|
@ -112,7 +112,6 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||
--prefix=$serverPath/php/${PHP_VER} \
|
||||
--exec-prefix=$serverPath/php/${PHP_VER} \
|
||||
--with-config-file-path=$serverPath/php/${PHP_VER}/etc \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
--enable-mysqlnd \
|
||||
--with-mysql=mysqlnd \
|
||||
--with-pdo-mysql=mysqlnd \
|
||||
|
|
|
|||
|
|
@ -112,7 +112,6 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||
--prefix=$serverPath/php/${PHP_VER} \
|
||||
--exec-prefix=$serverPath/php/${PHP_VER} \
|
||||
--with-config-file-path=$serverPath/php/${PHP_VER}/etc \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
--enable-mysqlnd \
|
||||
--with-mysql=mysqlnd \
|
||||
--with-pdo-mysql=mysqlnd \
|
||||
|
|
|
|||
|
|
@ -121,7 +121,6 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||
--prefix=$serverPath/php/${PHP_VER} \
|
||||
--exec-prefix=$serverPath/php/${PHP_VER} \
|
||||
--with-config-file-path=$serverPath/php/56/etc \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
--enable-mysqlnd \
|
||||
--with-mysql=mysqlnd \
|
||||
--with-pdo-mysql=mysqlnd \
|
||||
|
|
|
|||
|
|
@ -109,7 +109,6 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||
--enable-mysqlnd \
|
||||
--with-mysqli=mysqlnd \
|
||||
--with-pdo-mysql=mysqlnd \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
--enable-mbstring \
|
||||
--enable-simplexml \
|
||||
--enable-ftp \
|
||||
|
|
|
|||
|
|
@ -108,7 +108,6 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||
--prefix=$serverPath/php/${PHP_VER} \
|
||||
--exec-prefix=$serverPath/php/${PHP_VER} \
|
||||
--with-config-file-path=$serverPath/php/${PHP_VER}/etc \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
--enable-mysqlnd \
|
||||
--with-mysqli=mysqlnd \
|
||||
--with-pdo-mysql=mysqlnd \
|
||||
|
|
|
|||
|
|
@ -10,11 +10,6 @@ sourcePath=${serverPath}/source
|
|||
sysName=`uname`
|
||||
SYS_ARCH=`arch`
|
||||
|
||||
function version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; }
|
||||
function version_le() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" == "$1"; }
|
||||
function version_lt() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" != "$1"; }
|
||||
function version_ge() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" == "$1"; }
|
||||
|
||||
version=7.3.33
|
||||
PHP_VER=73
|
||||
Install_php()
|
||||
|
|
|
|||
|
|
@ -9,11 +9,6 @@ serverPath=$(dirname "$rootPath")
|
|||
sourcePath=${serverPath}/source
|
||||
sysName=`uname`
|
||||
|
||||
function version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; }
|
||||
function version_le() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" == "$1"; }
|
||||
function version_lt() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" != "$1"; }
|
||||
function version_ge() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" == "$1"; }
|
||||
|
||||
version=7.4.26
|
||||
PHP_VER=74
|
||||
Install_php()
|
||||
|
|
@ -133,7 +128,6 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||
--enable-mysqlnd \
|
||||
--with-mysqli=mysqlnd \
|
||||
--with-pdo-mysql=mysqlnd \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
--enable-ftp \
|
||||
--enable-mbstring \
|
||||
--enable-sockets \
|
||||
|
|
|
|||
|
|
@ -9,12 +9,6 @@ serverPath=$(dirname "$rootPath")
|
|||
sourcePath=${serverPath}/source
|
||||
sysName=`uname`
|
||||
|
||||
function version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; }
|
||||
function version_le() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" == "$1"; }
|
||||
function version_lt() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" != "$1"; }
|
||||
function version_ge() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" == "$1"; }
|
||||
|
||||
|
||||
version=8.0.30
|
||||
PHP_VER=80
|
||||
Install_php()
|
||||
|
|
@ -88,13 +82,13 @@ fi
|
|||
# fi
|
||||
|
||||
|
||||
ZIP_OPTION='--with-zip'
|
||||
libzip_version=`pkg-config libzip --modversion`
|
||||
if version_lt "$libzip_version" "0.11.0" ;then
|
||||
cd ${rootPath}/plugins/php/lib && /bin/bash libzip.sh
|
||||
export PKG_CONFIG_PATH=$serverPath/lib/libzip/lib/pkgconfig
|
||||
ZIP_OPTION="--with-zip=$serverPath/lib/libzip"
|
||||
fi
|
||||
# ZIP_OPTION='--with-zip'
|
||||
# libzip_version=`pkg-config libzip --modversion`
|
||||
# if version_lt "$libzip_version" "0.11.0" ;then
|
||||
# cd ${rootPath}/plugins/php/lib && /bin/bash libzip.sh
|
||||
# export PKG_CONFIG_PATH=$serverPath/lib/libzip/lib/pkgconfig
|
||||
# ZIP_OPTION="--with-zip=$serverPath/lib/libzip"
|
||||
# fi
|
||||
|
||||
|
||||
# ----- cpu start ------
|
||||
|
|
@ -134,8 +128,6 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||
--enable-mysqlnd \
|
||||
--with-mysqli=mysqlnd \
|
||||
--with-pdo-mysql=mysqlnd \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
$ZIP_OPTION \
|
||||
--enable-ftp \
|
||||
--enable-mbstring \
|
||||
--enable-sockets \
|
||||
|
|
|
|||
|
|
@ -9,12 +9,6 @@ serverPath=$(dirname "$rootPath")
|
|||
sourcePath=${serverPath}/source
|
||||
sysName=`uname`
|
||||
|
||||
function version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; }
|
||||
function version_le() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" == "$1"; }
|
||||
function version_lt() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" != "$1"; }
|
||||
function version_ge() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" == "$1"; }
|
||||
|
||||
|
||||
version=8.1.31
|
||||
PHP_VER=81
|
||||
Install_php()
|
||||
|
|
@ -80,13 +74,13 @@ if [ "$?" == "0" ];then
|
|||
OPTIONS="${OPTIONS} --with-password-argon2"
|
||||
fi
|
||||
|
||||
ZIP_OPTION='--with-zip'
|
||||
libzip_version=`pkg-config libzip --modversion`
|
||||
if version_lt "$libzip_version" "0.11.0" ;then
|
||||
cd ${rootPath}/plugins/php/lib && /bin/bash libzip.sh
|
||||
export PKG_CONFIG_PATH=$serverPath/lib/libzip/lib/pkgconfig
|
||||
ZIP_OPTION="--with-zip=$serverPath/lib/libzip"
|
||||
fi
|
||||
# ZIP_OPTION='--with-zip'
|
||||
# libzip_version=`pkg-config libzip --modversion`
|
||||
# if version_lt "$libzip_version" "0.11.0" ;then
|
||||
# cd ${rootPath}/plugins/php/lib && /bin/bash libzip.sh
|
||||
# export PKG_CONFIG_PATH=$serverPath/lib/libzip/lib/pkgconfig
|
||||
# ZIP_OPTION="--with-zip=$serverPath/lib/libzip"
|
||||
# fi
|
||||
|
||||
# ----- cpu start ------
|
||||
if [ -z "${cpuCore}" ]; then
|
||||
|
|
@ -125,8 +119,6 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||
--enable-mysqlnd \
|
||||
--with-mysqli=mysqlnd \
|
||||
--with-pdo-mysql=mysqlnd \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
$ZIP_OPTION \
|
||||
--enable-ftp \
|
||||
--enable-mbstring \
|
||||
--enable-sockets \
|
||||
|
|
|
|||
|
|
@ -9,12 +9,6 @@ serverPath=$(dirname "$rootPath")
|
|||
sourcePath=${serverPath}/source
|
||||
sysName=`uname`
|
||||
|
||||
function version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; }
|
||||
function version_le() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" == "$1"; }
|
||||
function version_lt() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" != "$1"; }
|
||||
function version_ge() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" == "$1"; }
|
||||
|
||||
|
||||
version=8.2.26
|
||||
PHP_VER=82
|
||||
Install_php()
|
||||
|
|
@ -108,13 +102,13 @@ else
|
|||
fi
|
||||
# ----- cpu end ------
|
||||
|
||||
ZIP_OPTION='--with-zip'
|
||||
libzip_version=`pkg-config libzip --modversion`
|
||||
if version_lt "$libzip_version" "0.11.0" ;then
|
||||
cd ${rootPath}/plugins/php/lib && /bin/bash libzip.sh
|
||||
export PKG_CONFIG_PATH=$serverPath/lib/libzip/lib/pkgconfig
|
||||
ZIP_OPTION="--with-zip=$serverPath/lib/libzip"
|
||||
fi
|
||||
# ZIP_OPTION='--with-zip'
|
||||
# libzip_version=`pkg-config libzip --modversion`
|
||||
# if version_lt "$libzip_version" "0.11.0" ;then
|
||||
# cd ${rootPath}/plugins/php/lib && /bin/bash libzip.sh
|
||||
# export PKG_CONFIG_PATH=$serverPath/lib/libzip/lib/pkgconfig
|
||||
# ZIP_OPTION="--with-zip=$serverPath/lib/libzip"
|
||||
# fi
|
||||
|
||||
|
||||
# echo "$sourcePath/php/php${PHP_VER}"
|
||||
|
|
@ -128,8 +122,6 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||
--enable-mysqlnd \
|
||||
--with-mysqli=mysqlnd \
|
||||
--with-pdo-mysql=mysqlnd \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
$ZIP_OPTION \
|
||||
--enable-mbstring \
|
||||
--enable-ftp \
|
||||
--enable-sockets \
|
||||
|
|
|
|||
|
|
@ -9,11 +9,6 @@ serverPath=$(dirname "$rootPath")
|
|||
sourcePath=${serverPath}/source
|
||||
sysName=`uname`
|
||||
|
||||
function version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; }
|
||||
function version_le() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" == "$1"; }
|
||||
function version_lt() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" != "$1"; }
|
||||
function version_ge() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" == "$1"; }
|
||||
|
||||
version=8.3.14
|
||||
PHP_VER=83
|
||||
Install_php()
|
||||
|
|
@ -107,13 +102,13 @@ else
|
|||
fi
|
||||
# ----- cpu end ------
|
||||
|
||||
ZIP_OPTION='--with-zip'
|
||||
libzip_version=`pkg-config libzip --modversion`
|
||||
if version_lt "$libzip_version" "0.11.0" ;then
|
||||
cd ${rootPath}/plugins/php/lib && /bin/bash libzip.sh
|
||||
export PKG_CONFIG_PATH=$serverPath/lib/libzip/lib/pkgconfig
|
||||
ZIP_OPTION="--with-zip=$serverPath/lib/libzip"
|
||||
fi
|
||||
# ZIP_OPTION='--with-zip'
|
||||
# libzip_version=`pkg-config libzip --modversion`
|
||||
# if version_lt "$libzip_version" "0.11.0" ;then
|
||||
# cd ${rootPath}/plugins/php/lib && /bin/bash libzip.sh
|
||||
# export PKG_CONFIG_PATH=$serverPath/lib/libzip/lib/pkgconfig
|
||||
# ZIP_OPTION="--with-zip=$serverPath/lib/libzip"
|
||||
# fi
|
||||
|
||||
|
||||
echo "$sourcePath/php/php${PHP_VER}"
|
||||
|
|
@ -128,8 +123,6 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||
--enable-mysqlnd \
|
||||
--with-mysqli=mysqlnd \
|
||||
--with-pdo-mysql=mysqlnd \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
$ZIP_OPTION \
|
||||
--enable-mbstring \
|
||||
--enable-ftp \
|
||||
--enable-sockets \
|
||||
|
|
|
|||
|
|
@ -9,11 +9,6 @@ serverPath=$(dirname "$rootPath")
|
|||
sourcePath=${serverPath}/source
|
||||
sysName=`uname`
|
||||
|
||||
function version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; }
|
||||
function version_le() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" == "$1"; }
|
||||
function version_lt() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" != "$1"; }
|
||||
function version_ge() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" == "$1"; }
|
||||
|
||||
version=8.4.1
|
||||
PHP_VER=84
|
||||
Install_php()
|
||||
|
|
@ -96,17 +91,18 @@ else
|
|||
fi
|
||||
# ----- cpu end ------
|
||||
|
||||
ZIP_OPTION='--with-zip'
|
||||
libzip_version=`pkg-config libzip --modversion`
|
||||
if version_lt "$libzip_version" "0.11.0" ;then
|
||||
cd ${rootPath}/plugins/php/lib && /bin/bash libzip.sh
|
||||
export PKG_CONFIG_PATH=$serverPath/lib/libzip/lib/pkgconfig
|
||||
ZIP_OPTION="--with-zip=$serverPath/lib/libzip"
|
||||
fi
|
||||
# ZIP_OPTION='--with-zip'
|
||||
# libzip_version=`pkg-config libzip --modversion`
|
||||
# if version_lt "$libzip_version" "0.11.0" ;then
|
||||
# cd ${rootPath}/plugins/php/lib && /bin/bash libzip.sh
|
||||
# export PKG_CONFIG_PATH=$serverPath/lib/libzip/lib/pkgconfig
|
||||
# ZIP_OPTION="--with-zip=$serverPath/lib/libzip"
|
||||
# fi
|
||||
|
||||
# OPTIONS="${OPTIONS} --enable-debug"
|
||||
# OPTIONS="${OPTIONS} --enable-dtrace"
|
||||
|
||||
|
||||
echo "$sourcePath/php/php${PHP_VER}"
|
||||
|
||||
if [ ! -d $serverPath/php/${PHP_VER} ];then
|
||||
|
|
@ -119,8 +115,6 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
|
|||
--enable-mysqlnd \
|
||||
--with-mysqli=mysqlnd \
|
||||
--with-pdo-mysql=mysqlnd \
|
||||
--with-zlib-dir=$serverPath/lib/zlib \
|
||||
$ZIP_OPTION \
|
||||
--enable-mbstring \
|
||||
--enable-ftp \
|
||||
--enable-sockets \
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ else
|
|||
BAK=''
|
||||
fi
|
||||
|
||||
# --with-zlib-dir=$serverPath/lib/zlib
|
||||
Install_lib()
|
||||
{
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue