小皮面板(phpstudy linux 面板)各版本手动升级命令汇总:
V0.5版本:
wget --no-check-certificate https://backups.xp.cn/updatefile/update_V0.5.sh -O update_V0.5.sh && /bin/bash update_V0.5.sh
V0.51版本:
wget --no-check-certificate https://backups.xp.cn/updatefile/update_V0.51.sh -O update_V0.51.sh && /bin/bash update_V0.51.sh
V0.52版本:
wget --no-check-certificate https://backups.xp.cn/updatefile/update_V0.52.sh -O update_V0.52.sh && /bin/bash update_V0.52.sh
V0.53版本:
wget --no-check-certificate https://backups.xp.cn/updatefile/update_V0.53.sh -O update_V0.53.sh && /bin/bash update_V0.53.sh
V0.6版本:
wget --no-check-certificate https://backups.xp.cn/updatefile/update_V0.6.sh -O update_V0.6.sh && /bin/bash update_V0.6.sh
V0.61版本:
wget --no-check-certificate https://backups.xp.cn/updatefile/update_V0.61.sh -O update_V0.61.sh && /bin/bash update_V0.61.sh
V0.7版本:
wget --no-check-certificate https://backups.xp.cn/updatefile/update_V0.7.sh -O update_V0.7.sh && /bin/bash update_V0.7.sh
V0.71版本:
wget --no-check-certificate https://backups.xp.cn/updatefile/update_V0.71.sh -O update_V0.71.sh && /bin/bash update_V0.71.sh
因最新浏览器无法发布话题, 借此发布
用 Nginx 或 Apache 重定向到首页, 总是重复执行接口两次, 修改重定向规则, 重启后执行php文件, 再恢复规则, 接口就不重复执行了, 重启计算机, 又出现上诉现象, 我始终没有解决, 望大佬能指点迷津, 网上没有找到解决方法.
php代码
<?php
file_get_contents('http://localhost:81') //接口
Nginx
server {
listen 80;
server_name localhost;
root "D:/WWW";
location / {
index index.php index.html;
try_files $uri $uri/ /index.php; # 重定向或重写规则
autoindex off;
}}