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

后端 未结 20 2339
北海茫月
北海茫月 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 17:48

    changing name of /bootstrap/cache/config.php to config.php.old doesn't work for me neither clearing cache with the commands artisan

    1. php artisan config:clear
    2. php artisan cache:clear
    3. php artisan config:cache

    And for some weird reason I can't change permission for the owner on the directories, so my solution was running my IDE (Visual Studio Code) as admin, and everything works.

    My project is in an F:/ path of another disk.

提交回复
热议问题