Laravel 5 show ErrorException file_put_contents failed to open stream: No such file or directory

后端 未结 20 2446
北海茫月
北海茫月 2020-12-04 17:26

I have a project on Laravel 5 and I work with it at the office and at home too. It works fine, but recently at home it stopped working. Laravel show me two ErrorException

20条回答
  •  余生分开走
    2020-12-04 18:01

    If you are running laravel inside docker then access its filesystem

    $ docker exec -it name-of-laravel-container /bin/bash
    

    Next navigate to your laravel projects root directory. Make sure that you have inside storage/framework folder:

    1. cache
    2. sessions
    3. testing
    4. views

    And they should be both readable and writable.

提交回复
热议问题