LoginSignup
4
1

More than 5 years have passed since last update.

Laravelで設定ファイル(config)の変更が反映されないときの対処法

Last updated at Posted at 2017-12-23

概要

※Laravelの検証バージョン5.x系


/app_name/config/

配下の設定ファイルを変更したとき、反映されないことがあるが、反映したい。

手順

キャッシュをクリアする


# ls
README.md artisan composer.json config phpunit.xml resources server.php tests webpack.mix.js
app bootstrap composer.lock database package.json public routes storage vendor yarn.lock
#
# php artisan config:cache
Configuration cache cleared!
Configuration cached successfully!

これでOK!!

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1