大家好!在服务器端执行 PHP artisan storage:link 还是 404 错误!
配置环境:ubantu 18.04 + nginx + php7.2 + mysql + laravel5.5
将图片上传至:项目路径/storage/app/public
使用php artisan storage:link
在浏览器中访问:主机/storage/图片名,提示404。


第一张是在服务器上点击软链接的目录,第二张是在windows上点击软链接的目录,
在上传文件时报错
'The stream or file "/www/wwwroot/xxxx/storage/logs/laravel-2020-08-19.log" could not be opened in append mode: failed to open stream: Permission denied'
请问是什么问题?
关于 LearnKu
推荐文章: