This commit is contained in:
dami
2026-09-11 21:52:24 +08:00
parent acd46f4724
commit 36ca82c1b4
102 changed files with 255 additions and 255 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ Install_php()
{
#------------------------ install start ------------------------------------#
apt -y install php${version} php${version}-fpm php${version}-dev
if [ "$?" == "0" ];then
if [ "$?" = "0" ];then
mkdir -p $serverPath/php-apt/${PHP_VER}
fi
@@ -40,7 +40,7 @@ echo "卸载php-${version}..."
}
action=${1}
if [ "${1}" == 'install' ];then
if [ "${1}" = 'install' ];then
Install_php
else
Uninstall_php