Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mallaury's avatar

Use Laravel File Manager without symlink

Hello, I am using "unisharp/laravel-filemanager" to upload and display images. When I upload an image, it is stored in /storage/app/public with a symlink in /public.

The problem is that my hosting does not allow me to create symlinks and I don't really want to change it just for that. I don't think I can change the path in the package configuration file.

Do you know a solution?

Thanks !

0 likes
3 replies
johnDoe220's avatar

you do not know whether your host will allow you to execute this command or not? php artisan storage: link?If you are worried I have a great solution that can be used even on shared hosting

mallaury's avatar

@johnDoe220 Symlinks are disabled in the php.ini. It is a very simple shared host. They told me I could do symlinks with CPanel hosting but I do not want to change it...

Please or to participate in this conversation.