更新时间:2023-02-19 18:34:23
您无法停止缓存配置文件,因为它不会自动发生.您唯一需要做的就是不要调用 config:cache
.
You can't stop the caching of config files since it doesn't happen automatically. The only thing you need to do, is not call config:cache
.
文件本身可以在bootstrap/cache/config.php
中找到.
The file itself can be found in bootstrap/cache/config.php
.
注意最近编译的配置文件的位置发生了变化.您的也可能在 vendor/config.php
或 storage/framework/config.php
中.全新安装或运行 composer update
时,该文件应位于 bootstrap/cache
中.
Note that the location of the compiled config file has changed recently. Yours might also be in vendor/config.php
or storage/framework/config.php
. With a fresh install or if you run composer update
the file should be in bootstrap/cache
though.