pull/109/head
midoks 4 years ago
parent 7c61481fcd
commit c6f652e1f1
  1. 2
      plugins/php/versions/73/install.sh
  2. 2
      plugins/php/versions/74/install.sh
  3. 6
      plugins/php/versions/80/install.sh

@ -11,7 +11,7 @@ sysName=`uname`
install_tmp=${rootPath}/tmp/mw_install.pl install_tmp=${rootPath}/tmp/mw_install.pl
version=7.3.20 version=7.3.26
PHP_VER=73 PHP_VER=73
Install_php() Install_php()
{ {

@ -11,7 +11,7 @@ sysName=`uname`
install_tmp=${rootPath}/tmp/mw_install.pl install_tmp=${rootPath}/tmp/mw_install.pl
version=7.4.8 version=7.4.14
PHP_VER=74 PHP_VER=74
Install_php() Install_php()
{ {

@ -11,7 +11,7 @@ sysName=`uname`
install_tmp=${rootPath}/tmp/mw_install.pl install_tmp=${rootPath}/tmp/mw_install.pl
version=8.0.0alpha2 version=8.0.1
PHP_VER=80 PHP_VER=80
Install_php() Install_php()
{ {
@ -23,10 +23,10 @@ mkdir -p $serverPath/php
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/~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 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} mv $sourcePath/php/php-${version} $sourcePath/php/php${PHP_VER}
fi fi

Loading…
Cancel
Save