LoginSignup
0
0

Laravel キャッシュ対応

Posted at

Laravelキャッシュ対応

Laravelで変な挙動をしだしたときに以下のコマンドでお茶を
濁している。大体解決するのでメモ

# phpコンテナ laravelのキャッシュを削除
php artisan key:generate
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan view:clear
composer dump-autoload
php artisan clear-compiled
php artisan optimize
php artisan config:cache

# laravelキャッシュ削除に伴い初期化された権限を再設定
chmod 777 bootstrap/cache
chmod 777 storage/app/public
chmod 777 storage/framework/cache
chmod 777 storage/framework/sessions
chmod 777 storage/framework/views
chmod 777 storage/logs
chmod 777 ./public
0
0
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
0
0