diff --git a/plugins/php-yum/versions/74/install.sh b/plugins/php-yum/versions/74/install.sh index 0bca5bd88..87abd097b 100755 --- a/plugins/php-yum/versions/74/install.sh +++ b/plugins/php-yum/versions/74/install.sh @@ -10,13 +10,6 @@ sourcePath=${serverPath}/source sysName=`uname` install_tmp=${rootPath}/tmp/mw_install.pl - -#获取信息和版本 -# bash /www/server/mdsever-web/scripts/getos.sh -bash ${rootPath}/scripts/getos.sh -OSNAME=`cat ${rootPath}/data/osname.pl` -VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'` - version=7.4.x PHP_VER=74 diff --git a/plugins/php-yum/versions/80/install.sh b/plugins/php-yum/versions/80/install.sh index da3c3d5c3..c3e0b37f0 100755 --- a/plugins/php-yum/versions/80/install.sh +++ b/plugins/php-yum/versions/80/install.sh @@ -11,12 +11,6 @@ sysName=`uname` install_tmp=${rootPath}/tmp/mw_install.pl -#获取信息和版本 -# bash /www/server/mdsever-web/scripts/getos.sh -bash ${rootPath}/scripts/getos.sh -OSNAME=`cat ${rootPath}/data/osname.pl` -VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'` - version=8.0.x PHP_VER=80 diff --git a/plugins/php-yum/versions/81/install.sh b/plugins/php-yum/versions/81/install.sh index c8793a83b..2e6236c0a 100755 --- a/plugins/php-yum/versions/81/install.sh +++ b/plugins/php-yum/versions/81/install.sh @@ -11,12 +11,6 @@ sysName=`uname` install_tmp=${rootPath}/tmp/mw_install.pl -#获取信息和版本 -# bash /www/server/mdsever-web/scripts/getos.sh -bash ${rootPath}/scripts/getos.sh -OSNAME=`cat ${rootPath}/data/osname.pl` -VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'` - version=8.1.x PHP_VER=81 diff --git a/plugins/php-yum/versions/82/install.sh b/plugins/php-yum/versions/82/install.sh index 514b3db7e..fdb66d5a0 100755 --- a/plugins/php-yum/versions/82/install.sh +++ b/plugins/php-yum/versions/82/install.sh @@ -28,7 +28,7 @@ fi Uninstall_php() { - # $serverPath/php-ya/init.d/php${PHP_VER} stop + # $serverPath/php-yum/init.d/php${PHP_VER} stop rm -rf $serverPath/php-yum/${PHP_VER} echo "卸载php-${version}..." > $install_tmp }