Update install.sh

pull/109/head
midoks 5 years ago
parent 7da4b1e08a
commit f7bcf0e805
  1. 6
      plugins/php/versions/54/install.sh

@ -21,11 +21,11 @@ mkdir -p $sourcePath/php
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 http://au1.php.net/distributions/php-${version}.tar.xz
if [ ! -f $sourcePath/php/php-${version}.tar.gz ];then
wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.gz http://au1.php.net/distributions/php-${version}.tar.gz
fi
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-${version}.tar.xz
cd $sourcePath/php && tar -zxvf $sourcePath/php/php-${version}.tar.gz
mv $sourcePath/php/php-${version} $sourcePath/php/php${PHP_VER}
fi

Loading…
Cancel
Save