mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
update
This commit is contained in:
@@ -7,13 +7,9 @@ rootPath=$(dirname "$curPath")
|
|||||||
rootPath=$(dirname "$rootPath")
|
rootPath=$(dirname "$rootPath")
|
||||||
serverPath=$(dirname "$rootPath")
|
serverPath=$(dirname "$rootPath")
|
||||||
sourcePath=${serverPath}/source
|
sourcePath=${serverPath}/source
|
||||||
|
sysName=`uname`
|
||||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||||
|
|
||||||
# echo $curPath
|
|
||||||
# echo ${1}
|
|
||||||
# echo ${serverPath}
|
|
||||||
# echo ${install_tmp}
|
|
||||||
|
|
||||||
|
|
||||||
Install_php()
|
Install_php()
|
||||||
@@ -32,13 +28,19 @@ if [ ! -d $sourcePath/php/php-5.4.45 ];then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
OPTIONS=''
|
||||||
|
if [ $sysName == 'Darwin' ]; then
|
||||||
|
OPTIONS='--without-iconv'
|
||||||
|
else
|
||||||
|
OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
|
||||||
|
fi
|
||||||
|
|
||||||
cd $sourcePath/php/php-5.4.45 && ./configure \
|
cd $sourcePath/php/php-5.4.45 && ./configure \
|
||||||
--prefix=$serverPath/php/54 \
|
--prefix=$serverPath/php/54 \
|
||||||
--exec-prefix=$serverPath/php/54 \
|
--exec-prefix=$serverPath/php/54 \
|
||||||
--with-config-file-path=$serverPath/php/54/etc \
|
--with-config-file-path=$serverPath/php/54/etc \
|
||||||
--with-zlib-dir=$serverPath/lib/zlib \
|
--with-zlib-dir=$serverPath/lib/zlib \
|
||||||
--enable-mysqlnd \
|
--enable-mysqlnd \
|
||||||
--without-iconv \
|
|
||||||
--enable-zip \
|
--enable-zip \
|
||||||
--enable-mbstring \
|
--enable-mbstring \
|
||||||
--enable-sockets \
|
--enable-sockets \
|
||||||
@@ -49,6 +51,7 @@ cd $sourcePath/php/php-5.4.45 && ./configure \
|
|||||||
--enable-sysvmsg \
|
--enable-sysvmsg \
|
||||||
--enable-sysvsem \
|
--enable-sysvsem \
|
||||||
--enable-sysvshm \
|
--enable-sysvshm \
|
||||||
|
$OPTIONS \
|
||||||
--enable-fpm \
|
--enable-fpm \
|
||||||
&& make && make install && make clean
|
&& make && make install && make clean
|
||||||
|
|
||||||
|
|||||||
@@ -7,15 +7,9 @@ rootPath=$(dirname "$curPath")
|
|||||||
rootPath=$(dirname "$rootPath")
|
rootPath=$(dirname "$rootPath")
|
||||||
serverPath=$(dirname "$rootPath")
|
serverPath=$(dirname "$rootPath")
|
||||||
sourcePath=${serverPath}/source
|
sourcePath=${serverPath}/source
|
||||||
|
sysName=`uname`
|
||||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||||
|
|
||||||
# echo $curPath
|
|
||||||
# echo ${1}
|
|
||||||
# echo ${serverPath}
|
|
||||||
# echo ${install_tmp}
|
|
||||||
|
|
||||||
|
|
||||||
Install_php()
|
Install_php()
|
||||||
{
|
{
|
||||||
#------------------------ install start ------------------------------------#
|
#------------------------ install start ------------------------------------#
|
||||||
@@ -31,6 +25,13 @@ if [ ! -d $sourcePath/php/php-5.5.38 ];then
|
|||||||
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-5.5.38.tar.xz
|
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-5.5.38.tar.xz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
OPTIONS=''
|
||||||
|
if [ $sysName == 'Darwin' ]; then
|
||||||
|
OPTIONS='--without-iconv'
|
||||||
|
else
|
||||||
|
OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
cd $sourcePath/php/php-5.5.38 && ./configure \
|
cd $sourcePath/php/php-5.5.38 && ./configure \
|
||||||
--prefix=$serverPath/php/55 \
|
--prefix=$serverPath/php/55 \
|
||||||
@@ -38,7 +39,6 @@ cd $sourcePath/php/php-5.5.38 && ./configure \
|
|||||||
--with-config-file-path=$serverPath/php/55/etc \
|
--with-config-file-path=$serverPath/php/55/etc \
|
||||||
--with-zlib-dir=$serverPath/lib/zlib \
|
--with-zlib-dir=$serverPath/lib/zlib \
|
||||||
--enable-mysqlnd \
|
--enable-mysqlnd \
|
||||||
--without-iconv \
|
|
||||||
--enable-zip \
|
--enable-zip \
|
||||||
--enable-intl \
|
--enable-intl \
|
||||||
--enable-mbstring \
|
--enable-mbstring \
|
||||||
@@ -50,6 +50,7 @@ cd $sourcePath/php/php-5.5.38 && ./configure \
|
|||||||
--enable-sysvmsg \
|
--enable-sysvmsg \
|
||||||
--enable-sysvsem \
|
--enable-sysvsem \
|
||||||
--enable-sysvshm \
|
--enable-sysvshm \
|
||||||
|
$OPTIONS \
|
||||||
--enable-fpm \
|
--enable-fpm \
|
||||||
&& make && make install && make clean
|
&& make && make install && make clean
|
||||||
|
|
||||||
|
|||||||
@@ -7,14 +7,9 @@ rootPath=$(dirname "$curPath")
|
|||||||
rootPath=$(dirname "$rootPath")
|
rootPath=$(dirname "$rootPath")
|
||||||
serverPath=$(dirname "$rootPath")
|
serverPath=$(dirname "$rootPath")
|
||||||
sourcePath=${serverPath}/source
|
sourcePath=${serverPath}/source
|
||||||
|
sysName=`uname`
|
||||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||||
|
|
||||||
# echo $curPath
|
|
||||||
# echo ${1}
|
|
||||||
# echo ${serverPath}
|
|
||||||
# echo ${install_tmp}
|
|
||||||
|
|
||||||
|
|
||||||
Install_php()
|
Install_php()
|
||||||
{
|
{
|
||||||
@@ -31,6 +26,12 @@ if [ ! -d $sourcePath/php/php-5.6.36 ];then
|
|||||||
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-5.6.36.tar.xz
|
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-5.6.36.tar.xz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
OPTIONS=''
|
||||||
|
if [ $sysName == 'Darwin' ]; then
|
||||||
|
OPTIONS='--without-iconv'
|
||||||
|
else
|
||||||
|
OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
|
||||||
|
fi
|
||||||
|
|
||||||
cd $sourcePath/php/php-5.6.36 && ./configure \
|
cd $sourcePath/php/php-5.6.36 && ./configure \
|
||||||
--prefix=$serverPath/php/56 \
|
--prefix=$serverPath/php/56 \
|
||||||
@@ -40,7 +41,6 @@ cd $sourcePath/php/php-5.6.36 && ./configure \
|
|||||||
--with-mysql=mysqlnd \
|
--with-mysql=mysqlnd \
|
||||||
--with-pdo-mysql=mysqlnd \
|
--with-pdo-mysql=mysqlnd \
|
||||||
--with-mysqli=mysqlnd \
|
--with-mysqli=mysqlnd \
|
||||||
--without-iconv \
|
|
||||||
--enable-zip \
|
--enable-zip \
|
||||||
--enable-mbstring \
|
--enable-mbstring \
|
||||||
--enable-intl \
|
--enable-intl \
|
||||||
@@ -48,13 +48,14 @@ cd $sourcePath/php/php-5.6.36 && ./configure \
|
|||||||
--enable-sockets \
|
--enable-sockets \
|
||||||
--enable-pcntl \
|
--enable-pcntl \
|
||||||
--enable-shmop \
|
--enable-shmop \
|
||||||
--enable-sysvmsg \
|
|
||||||
--enable-sysvsem \
|
|
||||||
--enable-sysvshm \
|
|
||||||
--enable-intl \
|
--enable-intl \
|
||||||
--enable-wddx \
|
--enable-wddx \
|
||||||
--enable-soap \
|
--enable-soap \
|
||||||
--enable-posix \
|
--enable-posix \
|
||||||
|
--enable-sysvmsg \
|
||||||
|
--enable-sysvsem \
|
||||||
|
--enable-sysvshm \
|
||||||
|
$OPTIONS \
|
||||||
--enable-fpm \
|
--enable-fpm \
|
||||||
&& make clean && make && make install && make clean
|
&& make clean && make && make install && make clean
|
||||||
|
|
||||||
|
|||||||
@@ -7,14 +7,9 @@ rootPath=$(dirname "$curPath")
|
|||||||
rootPath=$(dirname "$rootPath")
|
rootPath=$(dirname "$rootPath")
|
||||||
serverPath=$(dirname "$rootPath")
|
serverPath=$(dirname "$rootPath")
|
||||||
sourcePath=${serverPath}/source
|
sourcePath=${serverPath}/source
|
||||||
|
sysName=`uname`
|
||||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||||
|
|
||||||
# echo $curPath
|
|
||||||
# echo ${1}
|
|
||||||
# echo ${serverPath}
|
|
||||||
# echo ${install_tmp}
|
|
||||||
|
|
||||||
|
|
||||||
Install_php()
|
Install_php()
|
||||||
{
|
{
|
||||||
@@ -31,6 +26,13 @@ if [ ! -d $sourcePath/php/php-7.0.30 ];then
|
|||||||
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-7.0.30.tar.xz
|
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-7.0.30.tar.xz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
OPTIONS=''
|
||||||
|
if [ $sysName == 'Darwin' ]; then
|
||||||
|
OPTIONS='--without-iconv'
|
||||||
|
else
|
||||||
|
OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
cd $sourcePath/php/php-7.0.30 && ./configure \
|
cd $sourcePath/php/php-7.0.30 && ./configure \
|
||||||
--prefix=$serverPath/php/70 \
|
--prefix=$serverPath/php/70 \
|
||||||
@@ -38,7 +40,6 @@ cd $sourcePath/php/php-7.0.30 && ./configure \
|
|||||||
--with-config-file-path=$serverPath/php/70/etc \
|
--with-config-file-path=$serverPath/php/70/etc \
|
||||||
--with-zlib-dir=$serverPath/lib/zlib \
|
--with-zlib-dir=$serverPath/lib/zlib \
|
||||||
--enable-mysqlnd \
|
--enable-mysqlnd \
|
||||||
--without-iconv \
|
|
||||||
--enable-zip \
|
--enable-zip \
|
||||||
--enable-mbstring \
|
--enable-mbstring \
|
||||||
--enable-ftp \
|
--enable-ftp \
|
||||||
@@ -50,6 +51,7 @@ cd $sourcePath/php/php-7.0.30 && ./configure \
|
|||||||
--enable-sysvmsg \
|
--enable-sysvmsg \
|
||||||
--enable-sysvsem \
|
--enable-sysvsem \
|
||||||
--enable-sysvshm \
|
--enable-sysvshm \
|
||||||
|
$OPTIONS \
|
||||||
--enable-fpm \
|
--enable-fpm \
|
||||||
&& make && make install && make clean
|
&& make && make install && make clean
|
||||||
|
|
||||||
|
|||||||
@@ -7,14 +7,9 @@ rootPath=$(dirname "$curPath")
|
|||||||
rootPath=$(dirname "$rootPath")
|
rootPath=$(dirname "$rootPath")
|
||||||
serverPath=$(dirname "$rootPath")
|
serverPath=$(dirname "$rootPath")
|
||||||
sourcePath=${serverPath}/source
|
sourcePath=${serverPath}/source
|
||||||
|
sysName=`uname`
|
||||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||||
|
|
||||||
# echo $curPath
|
|
||||||
# echo ${1}
|
|
||||||
# echo ${serverPath}
|
|
||||||
# echo ${install_tmp}
|
|
||||||
|
|
||||||
version=7.1.27
|
version=7.1.27
|
||||||
Install_php()
|
Install_php()
|
||||||
{
|
{
|
||||||
@@ -31,6 +26,13 @@ if [ ! -d $sourcePath/php/php-${version} ];then
|
|||||||
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-${version}.tar.xz
|
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-${version}.tar.xz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
OPTIONS=''
|
||||||
|
if [ $sysName == 'Darwin' ]; then
|
||||||
|
OPTIONS='--without-iconv'
|
||||||
|
else
|
||||||
|
OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
cd $sourcePath/php/php-${version} && ./configure \
|
cd $sourcePath/php/php-${version} && ./configure \
|
||||||
--prefix=$serverPath/php/71 \
|
--prefix=$serverPath/php/71 \
|
||||||
@@ -38,7 +40,6 @@ cd $sourcePath/php/php-${version} && ./configure \
|
|||||||
--with-config-file-path=$serverPath/php/71/etc \
|
--with-config-file-path=$serverPath/php/71/etc \
|
||||||
--with-zlib-dir=$serverPath/lib/zlib \
|
--with-zlib-dir=$serverPath/lib/zlib \
|
||||||
--enable-mysqlnd \
|
--enable-mysqlnd \
|
||||||
--without-iconv \
|
|
||||||
--enable-zip \
|
--enable-zip \
|
||||||
--enable-mbstring \
|
--enable-mbstring \
|
||||||
--enable-ftp \
|
--enable-ftp \
|
||||||
@@ -50,6 +51,7 @@ cd $sourcePath/php/php-${version} && ./configure \
|
|||||||
--enable-sysvmsg \
|
--enable-sysvmsg \
|
||||||
--enable-sysvsem \
|
--enable-sysvsem \
|
||||||
--enable-sysvshm \
|
--enable-sysvshm \
|
||||||
|
$OPTIONS \
|
||||||
--enable-fpm \
|
--enable-fpm \
|
||||||
&& make && make install && make clean
|
&& make && make install && make clean
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ rootPath=$(dirname "$curPath")
|
|||||||
rootPath=$(dirname "$rootPath")
|
rootPath=$(dirname "$rootPath")
|
||||||
serverPath=$(dirname "$rootPath")
|
serverPath=$(dirname "$rootPath")
|
||||||
sourcePath=${serverPath}/source
|
sourcePath=${serverPath}/source
|
||||||
|
sysName=`uname`
|
||||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||||
|
|
||||||
|
|
||||||
@@ -27,6 +27,13 @@ if [ ! -d $sourcePath/php/php-${version} ];then
|
|||||||
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-${version}.tar.xz
|
cd $sourcePath/php && tar -Jxf $sourcePath/php/php-${version}.tar.xz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
OPTIONS=''
|
||||||
|
if [ $sysName == 'Darwin' ]; then
|
||||||
|
OPTIONS='--without-iconv'
|
||||||
|
else
|
||||||
|
OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
cd $sourcePath/php/php-${version} && ./configure \
|
cd $sourcePath/php/php-${version} && ./configure \
|
||||||
--prefix=$serverPath/php/72 \
|
--prefix=$serverPath/php/72 \
|
||||||
@@ -34,7 +41,6 @@ cd $sourcePath/php/php-${version} && ./configure \
|
|||||||
--with-config-file-path=$serverPath/php/72/etc \
|
--with-config-file-path=$serverPath/php/72/etc \
|
||||||
--with-zlib-dir=$serverPath/lib/zlib \
|
--with-zlib-dir=$serverPath/lib/zlib \
|
||||||
--enable-mysqlnd \
|
--enable-mysqlnd \
|
||||||
--without-iconv \
|
|
||||||
--enable-zip \
|
--enable-zip \
|
||||||
--enable-mbstring \
|
--enable-mbstring \
|
||||||
--enable-sockets \
|
--enable-sockets \
|
||||||
@@ -46,6 +52,7 @@ cd $sourcePath/php/php-${version} && ./configure \
|
|||||||
--enable-sysvmsg \
|
--enable-sysvmsg \
|
||||||
--enable-sysvsem \
|
--enable-sysvsem \
|
||||||
--enable-sysvshm \
|
--enable-sysvshm \
|
||||||
|
$OPTIONS \
|
||||||
--enable-fpm \
|
--enable-fpm \
|
||||||
&& make && make install && make clean
|
&& make && make install && make clean
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ rootPath=$(dirname "$curPath")
|
|||||||
rootPath=$(dirname "$rootPath")
|
rootPath=$(dirname "$rootPath")
|
||||||
serverPath=$(dirname "$rootPath")
|
serverPath=$(dirname "$rootPath")
|
||||||
sourcePath=${serverPath}/source
|
sourcePath=${serverPath}/source
|
||||||
|
sysName=`uname`
|
||||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||||
|
|
||||||
|
|
||||||
@@ -28,13 +28,20 @@ if [ ! -d $sourcePath/php/php-${version} ];then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
OPTIONS=''
|
||||||
|
if [ $sysName == 'Darwin' ]; then
|
||||||
|
OPTIONS='--without-iconv'
|
||||||
|
else
|
||||||
|
OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
cd $sourcePath/php/php-${version} && ./configure \
|
cd $sourcePath/php/php-${version} && ./configure \
|
||||||
--prefix=$serverPath/php/73 \
|
--prefix=$serverPath/php/73 \
|
||||||
--exec-prefix=$serverPath/php/73 \
|
--exec-prefix=$serverPath/php/73 \
|
||||||
--with-config-file-path=$serverPath/php/73/etc \
|
--with-config-file-path=$serverPath/php/73/etc \
|
||||||
--with-zlib-dir=$serverPath/lib/zlib \
|
--with-zlib-dir=$serverPath/lib/zlib \
|
||||||
--enable-mysqlnd \
|
--enable-mysqlnd \
|
||||||
--without-iconv \
|
|
||||||
--enable-zip \
|
--enable-zip \
|
||||||
--enable-mbstring \
|
--enable-mbstring \
|
||||||
--enable-ftp \
|
--enable-ftp \
|
||||||
@@ -46,6 +53,7 @@ cd $sourcePath/php/php-${version} && ./configure \
|
|||||||
--enable-sysvmsg \
|
--enable-sysvmsg \
|
||||||
--enable-sysvsem \
|
--enable-sysvsem \
|
||||||
--enable-sysvshm \
|
--enable-sysvshm \
|
||||||
|
$OPTIONS \
|
||||||
--enable-fpm \
|
--enable-fpm \
|
||||||
&& make && make install && make clean
|
&& make && make install && make clean
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user