douxing6532 2017-08-02 20:26
浏览 261

如何在已部署的网站中创建符号链接

I am new in Laravel, as you know in order to access stored files you should have a symlink from storage/app/public to public/storage. In computer you can just type in command line: php artisan storage:link. But now I have deployed my website on hosting and want to create a symlink. How can I do it?

  • 写回答

4条回答 默认 最新

  • dtttlua7165 2017-08-02 20:44
    关注

    I'm afraid this is near impossible on shared hosting since you would need a shell access to create the same symlink like on your computer.

    Depending on your options maybe Laravel Forge is helpful to you.

    Kind regards

    评论

报告相同问题?

悬赏问题

  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置