Search code examples
ubuntuwindows-subsystem-for-linuxlaravel-valet

Valet status is showing "is stopped"


I have a windows 10 insider build, and I am trying to install cpriego/valet-linux using wsl2

I have installed composer, php and all other the requirements. Now when I do valet start then valet status it shows me nginx Is Stopped fpm is stopped. See the picture below:

enter image description here


Solution

  • The status message is in a slightly different format on WSL and without the tweaks that are in the WSL specific fork of valet getting a status of services through valet will not work. see valeryan/valet-wsl merge request 4 for the changes that have to be made for status detection within wsl using valet.