This commit is contained in:
parent
a8cf8975d4
commit
82fd78080c
|
|
@ -72,15 +72,15 @@ cd ${curPath} && sh -x $curPath/versions/$2/install.sh $1
|
|||
if [ "${action}" == "install" ] && [ -d ${serverPath}/php-apt/${type} ];then
|
||||
|
||||
# 安装通用扩展
|
||||
echo "install PHP-APT[${PHP_VER}] extend start"
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${PHP_VER} install gd
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${PHP_VER} install iconv
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${PHP_VER} install exif
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${PHP_VER} install intl
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${PHP_VER} install mcrypt
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${PHP_VER} install openssl
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${PHP_VER} install gettext
|
||||
echo "install PHP-APT[${PHP_VER}] extend end"
|
||||
echo "install PHP-APT[${type}] extend start"
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type} install gd
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type} install iconv
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type} install exif
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type} install intl
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type} install mcrypt
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type} install openssl
|
||||
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type} install gettext
|
||||
echo "install PHP-APT[${type}] extend end"
|
||||
|
||||
#初始化
|
||||
cd ${rootPath} && python3 ${rootPath}/plugins/php-apt/index.py start ${type}
|
||||
|
|
|
|||
|
|
@ -62,15 +62,15 @@ cd ${curPath} && sh -x $curPath/versions/$2/install.sh $1
|
|||
|
||||
if [ "${action}" == "install" ] && [ -d ${serverPath}/php-yum/${type} ];then
|
||||
# 安装通用扩展
|
||||
echo "install PHP-YUM[${PHP_VER}] extend start"
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${PHP_VER} install gd
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${PHP_VER} install iconv
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${PHP_VER} install exif
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${PHP_VER} install intl
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${PHP_VER} install mcrypt
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${PHP_VER} install openssl
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${PHP_VER} install gettext
|
||||
echo "install PHP-YUM[${PHP_VER}] extend end"
|
||||
echo "install PHP-YUM[${type}] extend start"
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install gd
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install iconv
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install exif
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install intl
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install mcrypt
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install openssl
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install gettext
|
||||
echo "install PHP-YUM[${type}] extend end"
|
||||
|
||||
#初始化
|
||||
cd ${rootPath} && python3 ${rootPath}/plugins/php-yum/index.py start ${type}
|
||||
|
|
|
|||
|
|
@ -47,16 +47,16 @@ cd ${curPath} && sh -x $curPath/versions/$2/install.sh $1
|
|||
if [ "${action}" == "install" ] && [ -d ${serverPath}/php/${type} ];then
|
||||
|
||||
# 安装通用扩展
|
||||
echo "install PHP${PHP_VER} extend start"
|
||||
cd ${rootPath}/plugins/php/versions/common && bash gd.sh install ${PHP_VER}
|
||||
cd ${rootPath}/plugins/php/versions/common && bash iconv.sh install ${PHP_VER}
|
||||
cd ${rootPath}/plugins/php/versions/common && bash exif.sh install ${PHP_VER}
|
||||
cd ${rootPath}/plugins/php/versions/common && bash intl.sh install ${PHP_VER}
|
||||
cd ${rootPath}/plugins/php/versions/common && bash mcrypt.sh install ${PHP_VER}
|
||||
cd ${rootPath}/plugins/php/versions/common && bash openssl.sh install ${PHP_VER}
|
||||
cd ${rootPath}/plugins/php/versions/common && bash gettext.sh install ${PHP_VER}
|
||||
echo "install PHP${PHP_VER} extend end"
|
||||
|
||||
echo "install PHP${type} extend start"
|
||||
cd ${rootPath}/plugins/php/versions/common && bash gd.sh install ${type}
|
||||
cd ${rootPath}/plugins/php/versions/common && bash iconv.sh install ${type}
|
||||
cd ${rootPath}/plugins/php/versions/common && bash exif.sh install ${type}
|
||||
cd ${rootPath}/plugins/php/versions/common && bash intl.sh install ${type}
|
||||
cd ${rootPath}/plugins/php/versions/common && bash mcrypt.sh install ${type}
|
||||
cd ${rootPath}/plugins/php/versions/common && bash openssl.sh install ${type}
|
||||
cd ${rootPath}/plugins/php/versions/common && bash gettext.sh install ${type}
|
||||
echo "install PHP${type} extend end"
|
||||
|
||||
#初始化
|
||||
cd ${rootPath} && python3 ${rootPath}/plugins/php/index.py start ${type}
|
||||
cd ${rootPath} && python3 ${rootPath}/plugins/php/index.py initd_install ${type}
|
||||
|
|
|
|||
Loading…
Reference in New Issue