Blog Spameri

My development blog about PHP, Nette Framework, ElasticSearch or occasional short tips.


Project maintained by VBoss Hosted on GitHub Pages — Theme by mattgraham

Windows Subsystem for Linux - Sync Issues


Situation

You have php application in WSL /var/www/application and you want edit it from windows with IDE (ie. PHPStorm).


Issues


Why

I found question with reasonable answers answer and answer
TL:DR - Sharing/synchronizing of WSL files to windows is not supported.


Solution

It's recommended to cd to windows folder and work there.
Move files from /var/www/application to C:/Users/VBoss/Projects/application. Then set paths and configs to use this path /mnt/c/Users/VBoss/Projects/application.
And done, in my case i can run composer install in application folder using php from WSL.

Back to index RSS

Posted: 07 Mar 2017