mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
php安装脚本加入
--no-check-certificate
This commit is contained in:
@@ -18,7 +18,7 @@ mkdir -p $sourcePath/php
|
||||
mkdir -p $serverPath/php
|
||||
|
||||
if [ ! -f $sourcePath/php/php-5.3.29.tar.xz ];then
|
||||
wget -O $sourcePath/php/php-5.3.29.tar.xz https://museum.php.net/php5/php-5.3.29.tar.xz
|
||||
wget --no-check-certificate -O $sourcePath/php/php-5.3.29.tar.xz https://museum.php.net/php5/php-5.3.29.tar.xz
|
||||
fi
|
||||
|
||||
if [ ! -d $sourcePath/php/php-5.3.29 ];then
|
||||
|
||||
@@ -20,7 +20,7 @@ mkdir -p $sourcePath/php
|
||||
mkdir -p $serverPath/php
|
||||
|
||||
if [ ! -f $sourcePath/php/php-5.4.45.tar.gz ];then
|
||||
wget -O $sourcePath/php/php-5.4.45.tar.gz https://museum.php.net/php5/php-5.4.45.tar.gz
|
||||
wget --no-check-certificate -O $sourcePath/php/php-5.4.45.tar.gz https://museum.php.net/php5/php-5.4.45.tar.gz
|
||||
fi
|
||||
|
||||
if [ ! -d $sourcePath/php/php-5.4.45 ];then
|
||||
|
||||
@@ -18,7 +18,7 @@ mkdir -p $sourcePath/php
|
||||
mkdir -p $serverPath/php
|
||||
|
||||
if [ ! -f $sourcePath/php/php-5.5.38.tar.xz ];then
|
||||
wget -O $sourcePath/php/php-5.5.38.tar.xz https://museum.php.net/php5/php-5.5.38.tar.xz
|
||||
wget --no-check-certificate -O $sourcePath/php/php-5.5.38.tar.xz https://museum.php.net/php5/php-5.5.38.tar.xz
|
||||
fi
|
||||
|
||||
if [ ! -d $sourcePath/php/php-5.5.38 ];then
|
||||
|
||||
@@ -19,7 +19,7 @@ mkdir -p $sourcePath/php
|
||||
mkdir -p $serverPath/php
|
||||
|
||||
if [ ! -f $sourcePath/php/php-7.0.30.tar.xz ];then
|
||||
wget -O $sourcePath/php/php-7.0.30.tar.xz https://museum.php.net/php7/php-7.0.30.tar.xz
|
||||
wget --no-check-certificate -O $sourcePath/php/php-7.0.30.tar.xz https://museum.php.net/php7/php-7.0.30.tar.xz
|
||||
fi
|
||||
|
||||
if [ ! -d $sourcePath/php/php-7.0.30 ];then
|
||||
|
||||
@@ -19,7 +19,7 @@ mkdir -p $sourcePath/php
|
||||
mkdir -p $serverPath/php
|
||||
|
||||
if [ ! -f $sourcePath/php/php-${version}.tar.xz ];then
|
||||
wget -O $sourcePath/php/php-${version}.tar.xz http://au1.php.net/distributions/php-${version}.tar.xz
|
||||
wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.xz http://au1.php.net/distributions/php-${version}.tar.xz
|
||||
fi
|
||||
|
||||
if [ ! -d $sourcePath/php/php-${version} ];then
|
||||
|
||||
@@ -20,7 +20,7 @@ mkdir -p $sourcePath/php
|
||||
mkdir -p $serverPath/php
|
||||
|
||||
if [ ! -f $sourcePath/php/php-${version}.tar.xz ];then
|
||||
wget -O $sourcePath/php/php-${version}.tar.xz http://au1.php.net/distributions/php-${version}.tar.xz
|
||||
wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.xz http://au1.php.net/distributions/php-${version}.tar.xz
|
||||
fi
|
||||
|
||||
if [ ! -d $sourcePath/php/php-${version} ];then
|
||||
|
||||
@@ -20,7 +20,7 @@ mkdir -p $sourcePath/php
|
||||
mkdir -p $serverPath/php
|
||||
|
||||
if [ ! -f $sourcePath/php/php-${version}.tar.xz ];then
|
||||
wget -O $sourcePath/php/php-${version}.tar.xz http://au1.php.net/distributions/php-${version}.tar.xz
|
||||
wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.xz http://au1.php.net/distributions/php-${version}.tar.xz
|
||||
fi
|
||||
|
||||
if [ ! -d $sourcePath/php/php-${version} ];then
|
||||
|
||||
Reference in New Issue
Block a user