valet-windows: Valet has problems with executing commands from another drive.

Hey,

Everytime I try to run a valet command from my D drive in git bash, it says: Could not start the phpfpmservice service. Check ~/.valet/Log for errors.

Only problem is that there is nothing in the logs…

I am running it as administrator, even in the default windows command prompt as administrator it doesn’t work for some reason. When I try to run a command from my C drive it works, the problem is that I have a small boot drive (120GB SSD) so I can’t really store much on there.

Is there any way to fix this issue?

Greetings, Luuk Hoeben

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Comments: 15 (5 by maintainers)

Commits related to this issue

Most upvoted comments

You have to run all the Valet commands that restart a service from the C drive (eg: valet install, valet start, valet restart, valet stop).

But you can still run valet park folder / valet link folder from the D drive but if you want to secure a domain you’ll have to run valet secure some-site from the C drive.

@mauroavello Will I Had This Issue What I Did Are

1 - Uninstall The VW From Global Composer composer global remove cretueusebiu/valet-windows 2 - Stop All The Services From The Setting In Your Windows 3 - Delete C:Users/yourusername/.valet Folder 4 - IMPORTANT ! run The Command Line As Admin 5 - run composer global require cretueusebiu/valet-windows 6 - Restart All The Services From The Setting In Your Windows 7 - then valet install 8 - restart your computer
This Should Worked

@aditya43 valet secure should work without manually configuring your network. Valet will try to configure your network automatically when you install it, but if it doesn’t you can do it manually (Win7 and Win10)