Using this command in controller Artisan::call("storage:link");No issue on shared hosting.
On AWS EC2 returning this error message "symlink(): Permission denied".on EC2 Terminal using this command php artisan storage:link same issue ..
But sudo php artisan storage:link works fine..I want to use this command Artisan::call("storage:link") without going to Terminal but how can ?