我做了一个网站,网站在服务器上出现了错误。但我的本地没有问题。当我向git发送代码时,我得到了错误文件put content。当我使用php artisan view时:缓存问题得到了解决,但几个小时后,我得到了错误文件,put content权限被自动拒绝。
我调查了这个问题,我发现了chmod -R 777命令,但我又得到了这个错误。我不知道如何解决这个问题。
你能帮帮我吗?
提前谢谢。
发布于 2020-02-17 15:22:29
尝试您设置的this..Whichever方式,然后您需要为存储和缓存的set服务器提供读写权限
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cachehttps://stackoverflow.com/questions/60257351
复制相似问题