|
|
|
@ -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 |
|
|
|
|
|
|
|
|
|