|
|
@ -16,7 +16,7 @@ function version_lt() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" |
|
|
|
function version_ge() { 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.0beta3 |
|
|
|
version=8.2.0RC2 |
|
|
|
PHP_VER=82 |
|
|
|
PHP_VER=82 |
|
|
|
Install_php() |
|
|
|
Install_php() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -32,7 +32,7 @@ cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash zlib.sh |
|
|
|
if [ ! -d $sourcePath/php/php${PHP_VER} ];then |
|
|
|
if [ ! -d $sourcePath/php/php${PHP_VER} ];then |
|
|
|
|
|
|
|
|
|
|
|
if [ ! -f $sourcePath/php/php-${version}.tar.xz ];then |
|
|
|
if [ ! -f $sourcePath/php/php-${version}.tar.xz ];then |
|
|
|
wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.xz https://downloads.php.net/~pierrick/php-8.2.0alpha2.tar.xz |
|
|
|
wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.xz https://downloads.php.net/~pierrick/php-${version}.tar.xz |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-${version}.tar.xz |
|
|
|
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-${version}.tar.xz |
|
|
|