file_put_contents - failed to open stream: Permission denied

前端 未结 14 1725
耶瑟儿~
耶瑟儿~ 2020-11-27 03:05

I am trying to write a query to a file for debugging. The file is in database/execute.php. The file I want to write to is database/queries.php.

14条回答
  •  面向向阳花
    2020-11-27 03:37

    If you are pulling from git from local to server, you will need to clear cache sometimes because of the view files it gets uploaded with it / or other cached files .

    php artisan cache:clear
    

    Sometimes it might just to the trick if your application was working before the git pull

提交回复
热议问题