Laravel throws 'The bootstrap/cache directory must be present and writable' error after update

后端 未结 12 746
礼貌的吻别
礼貌的吻别 2020-12-14 14:03

I used \'composer update\', which updated a few packages. During the updating process the website still functions. However, after it says \'The compiled services file has be

12条回答
  •  死守一世寂寞
    2020-12-14 14:32

    If a web server (e.g. Apache or Nginx) is being used as a front-end the solution is to make the directory bootstrap/cache owned by web server group. For Nginx:

     $ sudo chgrp -R nginx bootstrap/cache
    

提交回复
热议问题