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

    评论

报告相同问题?