31 May 2019

Deployement Ke Server App Dengan Laravel Framework Error File Put Contents

NTMS

Kalau deployment instan main copy app laravel ke server , ada error file put contents, info dari stackoverflow ini solve problem


- install composer di server
- delete2 file di bawah folder

  • storage\cache
  • storage\sessions
  • storage\views
Kalau ga ada harus bikin folder struktur dibawah storage, tapi itu kalau pakai laravel < 5.2
 

- buka cmd, jalankan php artisan cache:clear, kalau failed
- jalanin
  • php artisan config:clear
  • php artisan config:cache
Done !

No comments:

Post a Comment