diff --git a/plugins/php-apt/install.sh b/plugins/php-apt/install.sh index a7497a087..34c8d02c3 100755 --- a/plugins/php-apt/install.sh +++ b/plugins/php-apt/install.sh @@ -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} diff --git a/plugins/php-yum/install.sh b/plugins/php-yum/install.sh index 58d9bf3a4..0964ed215 100755 --- a/plugins/php-yum/install.sh +++ b/plugins/php-yum/install.sh @@ -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} diff --git a/plugins/php/install.sh b/plugins/php/install.sh index 60776861b..8c8a44f03 100755 --- a/plugins/php/install.sh +++ b/plugins/php/install.sh @@ -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}