【发布时间】:2018-11-23 02:36:17
【问题描述】:
the broken link 和 the output of files 我在公共目录中创建了文件夹名称:“storage”,然后我尝试运行:
artisan storage:link
但它给出的消息是“Killed”。
我想将图像保存在文件夹 storage/app/public/temporary 中
有人知道该怎么做吗?
【问题讨论】:
the broken link 和 the output of files 我在公共目录中创建了文件夹名称:“storage”,然后我尝试运行:
artisan storage:link
但它给出的消息是“Killed”。
我想将图像保存在文件夹 storage/app/public/temporary 中
有人知道该怎么做吗?
【问题讨论】:
您应该调整文件权限。 cd 进入您的项目根文件夹并执行以下命令。
将组更改为 Apache
sudo chgrp -R www-data storage public
更改权限
sudo chmod -R 775 storage public
重启 Apache
service apache2 restart
【讨论】: