ThinkPHP5+部署
super
2024-01-12 19:39

1)新建网站

2)复制ThinkPHP代码到网站文件夹内
3)点击网站名

4)点击网站目录,运行目录设置为public,点击保存

5)点击伪静态,选择thinkphp,点击保存

6)修改网站数据库配置
ThinkPHP5
Application/database.php
ThinkPHP5.1
config/database.php
ThinkPHP6+
.env
7)Debug开关
ThinkPHP5.0
Application/config.php app_debug
ThinkPHP5.1
config/app.php app_debug
ThinkPHP6+
.env
0 条讨论