This commit is contained in:
midoks
2022-07-07 19:19:17 +08:00
parent fa3dec7f50
commit a3e99eae6e
4 changed files with 6 additions and 3 deletions
+3
View File
@@ -2028,12 +2028,15 @@ location ~* ^{from}(.*)$ {
tmp['name'] = '纯静态'
data.append(tmp)
# 标准判断
checkPath = mw.getServerDir() + '/php/' + val + '/bin/php'
if os.path.exists(checkPath):
tmp['version'] = val
tmp['name'] = 'PHP-' + val
data.append(tmp)
# 其他PHP安装类型
return mw.getJson(data)
# 是否跳转到https
+1 -1
View File
@@ -27,7 +27,7 @@ Install_php()
### centos start ################
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-${VERSION_ID}.rpm
yum install php74 php74-php-fpm
yum install -y php74 php74-php-fpm
### centos start ################
if [ "$?" == "0" ];then
+1 -1
View File
@@ -27,7 +27,7 @@ Install_php()
### centos start ################
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-${VERSION_ID}.rpm
yum install php80 php80-php-fpm
yum install -y php80 php80-php-fpm
### centos start ################
if [ "$?" == "0" ];then
+1 -1
View File
@@ -27,7 +27,7 @@ Install_php()
### centos start ################
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-${VERSION_ID}.rpm
yum install php81 php81-php-fpm
yum install -y php81 php81-php-fpm
### centos start ################
if [ "$?" == "0" ];then