Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

barun.tayenjam's avatar

symlink(): Protocol error in Vagrant 2.0

Hi Everyone,

I am new to Homestead and Laravel, recently I have installed Vagrant 2.0.0 in my Windows 10 PC. I have successfully installed Laravel 5.5 however there is an error of [ErrorException] symlink(): Protocol error. I have tried to solve this using

https://stackoverflow.com/questions/39496598/laravel-5-3-storagelink-symlink-protocol-error https://laracasts.com/discuss/channels/servers/creating-symbolic-link-on-homestead

But still, the solutions mentioned there seems to be not solving the issue. I can't either run Git Bash & CMD in admin mode, as it gives error while running vagrant up command.

Can anyone please give a solution for this?

Thanks in Advance Barun

0 likes
1 reply
sabbir's avatar

Try to run php artisan storage:link from host machine. This will work fine.

Please or to participate in this conversation.