This commit is contained in:
midoks
2021-02-01 22:26:55 +08:00
parent 791f2b8ec9
commit e854cc083f
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ sysName=`uname`
install_tmp=${rootPath}/tmp/mw_install.pl
version=7.3.20
version=7.3.26
PHP_VER=73
Install_php()
{
+1 -1
View File
@@ -11,7 +11,7 @@ sysName=`uname`
install_tmp=${rootPath}/tmp/mw_install.pl
version=7.4.8
version=7.4.14
PHP_VER=74
Install_php()
{
+3 -3
View File
@@ -11,7 +11,7 @@ sysName=`uname`
install_tmp=${rootPath}/tmp/mw_install.pl
version=8.0.0alpha2
version=8.0.1
PHP_VER=80
Install_php()
{
@@ -23,10 +23,10 @@ mkdir -p $serverPath/php
if [ ! -d $sourcePath/php/php${PHP_VER} ];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/~carusogabriel/php-${version}.tar.xz
wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.xz https://www.php.net/distributions/php-${version}.tar.xz
fi
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-${version}.tar.xz
cd $sourcePath/php && tar -zxvf $sourcePath/php/php-${version}.tar.xz
mv $sourcePath/php/php-${version} $sourcePath/php/php${PHP_VER}
fi