laravel 7 php symlink function not working code example
Example 1: symlink(): No such file or directory
1. Go to /public directory remove /storage folder
2. run command
ln -s /AnotherAppName/storage/app/public/ /AnotherAppName/public/storage
------------- OR RUN ---------------------
php artisan storage:link
Example 2: ErrorException symlink(): No such file or directory
'links' => [
'/var/www/storage' => storage_path('app/public'),
],