环境需求:
PHP版本:8.2+(包含8.2)
MySQL版本:5.7
1.0 配置验证名称后端接口地址#
打开index.html文件,配置图上的后端接口地址
后端地址请附带http(s)://,否则将无法正常工作
🔔 后端地址请用当前搭建服务端的域名1.1 配 置伪静态#
打开网站根目录下的project.ini.php文件,修改为你自己的授权账号和密码location / {
if ($uri = '/index.html') {
add_header Cache-Control "no-cache, no-store, must-revalidate";
}
rewrite ^/f/(.*) /dnld.php?file=$1 last;
rewrite ^/sapi/(.*) /web/$1.php last;
rewrite ^/api/(.*) /api/$1.php last;
try_files $uri $uri/ /index.html;
}
1.2 后端安装配置#
在下载的安装包内找到install_MySQL5.x.sql文件导入install_MySQL5.x.sql文件到你的MySQL数据库内配置includes/db.config.php文件内的数据库信息💡 以上所有步骤安装完成后,后台账号密码默认:admin / 123456