Storage in laravel says symlink - no such file

后端 未结 12 1971
离开以前
离开以前 2020-12-07 22:39

I deployed laravel app on shared hosting in public_html/app folder. Here is everything from public folder. In /../../files I have rest of files. When I do php artisan storag

12条回答
  •  我在风中等你
    2020-12-07 23:27

    Go to config/filesystem.php in the symbolic links section in my case I removed public_path function and wrote my own path in it then run php artisan storage:link command again.

     'links' => [
        '/var/www/storage' => storage_path('app/public'),
    ],
    

    Worked for me.

提交回复
热议问题