Skip to content

普通安装

环境要求

php:8.2.x

mysql:>=5.7

安装步骤

  1. 下载代码上传至服务器并解压
  2. 新建网站指向 public 目录
  3. nginx中添加请求转发
location /prod/ {
    proxy_set_header Host $http_host;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_http_version 1.1;
    proxy_set_header Connection "";
    proxy_pass http://127.0.0.1:8989/;
}
  1. 在根目录运行 php start.php start -d
  2. 访问系统首页进行安装
安装向导
安装向导