> 執(zhí)行composer命令下載的TP6.0 ![](https://img.itqaq.com/art/content/2b696769a6c7497130bab430a89c0673.png) > 將 `.example.env` 重命名為 `.env`,`.env` 文件內(nèi)容如下 ```php APP_DEBUG = true [APP] DEFAULT_TIMEZONE = Asia/Shanghai [DATABASE] TYPE = mysql HOSTNAME = 127.0.0.1 DATABASE = test USERNAME = username PASSWORD = password HOSTPORT = 3306 CHARSET = utf8 DEBUG = true [LANG] default_lang = zh-cn ``` **APP_DEBUG** 調(diào)試模式的配置 true --> 開啟調(diào)試模式 false --> 關閉調(diào)試模式,則為部署模式