|
|
|
@ -10,7 +10,7 @@ sourcePath=${serverPath}/source |
|
|
|
|
sysName=`uname` |
|
|
|
|
install_tmp=${rootPath}/tmp/mw_install.pl |
|
|
|
|
|
|
|
|
|
version=7.0.30 |
|
|
|
|
version=7.0.33 |
|
|
|
|
PHP_VER=70 |
|
|
|
|
Install_php() |
|
|
|
|
{ |
|
|
|
@ -25,7 +25,7 @@ cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash zlib.sh |
|
|
|
|
|
|
|
|
|
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 |
|
|
|
|
wget --no-check-certificate -O $sourcePath/php/php-${version}.tar.xz https://museum.php.net/php7/php-${version}.tar.xz |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-${version}.tar.xz |
|
|
|
|