Your other question. Yes most likely . It depends on this
'default' => env('FILESYSTEM_DRIVER', 'local'),
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Your other question. Yes most likely . It depends on this
'default' => env('FILESYSTEM_DRIVER', 'local'),
I normally use command prompt but evenif I use git bash to symlink it still does not mirror the image. How to run gitbash as administrator?
I right click the laravel folder and run gitbash, then symlink the folder again.
First delete the folder again..
Right click the git bash icon and select "Run as administor"
https://user-images.githubusercontent.com/13665117/43254583-bb3f9a0a-9095-11e8-829d-1399a00802e9.png
Now try php artisan storage:link
https://drive.google.com/file/d/1kkzX4HquH3DUomC9xClydw4MoSo3d5_b/view?usp=sharing
When I right click my gitbash icon automatically opens the gitbash windows without showing "run as administrator" icon.
Press windows icon on your keyboard.. Type git bash Now right click the icon that shows up there instead
It opens the same windows as when I directly right click the icon and select git bash
Admin@LAPTOP-HTFI5LEL MINGW64 /d/xampp72/htdocs/aws_admin_test
php artisan storage:link
?[32mThe [public/storage] directory has been linked.?[39m
After uploading a new image, still is not mirror to public/storage folder
You dont have to upload anything to check if it works. Just look in public/storage and see if it is empty.. If it is your symlink is broken for some reason
I can't understand why it is broken. I installed a fresh new laravel when building this project.
composer.json
"require": {
"php": "^7.2",
"fideloper/proxy": "^4.0",
"laravel/framework": "^6.2",
"laravel/tinker": "^1.0"
},
You can try using mklink instead from the normal command promt (remember to run as admin)
Here is a guide
https://www.maketecheasier.com/create-symbolic-links-windows10/
D:\xampp72\htdocs\aws_admin_test>mklink D:\xampp72\htdocs\aws_admin_test\storage\app\public\slides\ D:\xampp72\htdocs\aws_admin_test\public\storage\
Access is denied.
D:\xampp72\htdocs\aws_admin_test>mklink D:\xampp72\htdocs\aws_admin_test\storage\app\public\slides D:\xampp72\htdocs\aws_admin_test\public\storage
Access is denied.
Seeems that you didnt open the commandpront as admin (I am a linux user myself but that would be my best guess)
Administrator:Command Prompt
D:\xampp72\htdocs\aws_admin_test>mklink D:\xampp72\htdocs\aws_admin_test\storage\app\public\slides\ D:\xampp72\htdocs\aws_admin_test\public\storage Access is denied.
D:\xampp72\htdocs\aws_admin_test>mklink D:\xampp72\htdocs\aws_admin_test\storage\app\public\slides D:\xampp72\htdocs\aws_admin_test\public\storage Access is denied.
Still does not work
Sorry. I am no windows expert. I would suggest creating a new ticket regarding this issue as this one has gone quite off topic. "Symlink not working on windows" :)
Please or to participate in this conversation.