My development blog about PHP, Nette Framework, ElasticSearch or occasional short tips.
You have php application in WSL /var/www/application
and you want edit it from windows with IDE (ie. PHPStorm).
I found question with reasonable answers
answer and answer
TL:DR - Sharing/synchronizing of WSL files to windows is not supported.
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.