Milan Tarami
Posted on December 2, 2020
In shared hosting, if you don't have ssh access there is one way to run the artisan command is using Artisan
Facade but wait Artisan::call('storage:link')
throws an error
We are going to solve this issue, add this code to web.php within a route or to any controller
use Illuminate\Support\Facades\File;
File::link(storage_path('app/public'), public_path('storage'));
💖 💪 🙅 🚩
Milan Tarami
Posted on December 2, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
webdev Introducing Laravel Nightwatch: A New Age of Monitoring Your Laravel Apps ✨
November 27, 2024
development A Little Bit of a Disaster, A Lot of Motivation: Building a CLI Secret Manager
November 21, 2024