|
|
|
@ -11,7 +11,7 @@ sysName=`uname` |
|
|
|
|
install_tmp=${rootPath}/tmp/mw_install.pl |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
version=7.4.30 |
|
|
|
|
version=7.4.26 |
|
|
|
|
PHP_VER=74 |
|
|
|
|
Install_php() |
|
|
|
|
{ |
|
|
|
@ -28,7 +28,7 @@ cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash libzip.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 |
|
|
|
@ -60,7 +60,7 @@ echo "$sourcePath/php/php${PHP_VER}" |
|
|
|
|
|
|
|
|
|
if [ ! -d $serverPath/php/${PHP_VER} ];then |
|
|
|
|
cd $sourcePath/php/php${PHP_VER} |
|
|
|
|
./buildconf --force |
|
|
|
|
# ./buildconf --force |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=$serverPath/php/${PHP_VER} \ |
|
|
|
|
--exec-prefix=$serverPath/php/${PHP_VER} \ |
|
|
|
|