更新时间:2023-02-19 17:51:11
您不能停止缓存配置文件,因为它不会自动发生.您唯一要做的就是不要调用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.