From f1ec8ad7149d7f8b46332799a1a1941688459f64 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 14 Jul 2020 08:46:30 +0800 Subject: [PATCH] Update install.sh --- plugins/php/versions/54/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/php/versions/54/install.sh b/plugins/php/versions/54/install.sh index 65a9afa8f..b545f9b4a 100755 --- a/plugins/php/versions/54/install.sh +++ b/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