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
- Merge pull request #12 from igorpan/patch-1 ValetDriver::serves() method should return bool — committed to cretueusebiu/valet-windows by taylorotwell 8 years ago
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 runvalet 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 - DeleteC:Users/yourusername/.valet
Folder 4 - IMPORTANT ! run The Command Line As Admin 5 - runcomposer global require cretueusebiu/valet-windows
6 - Restart All The Services From The Setting In Your Windows 7 - thenvalet install
8 - restart your computerThis 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)@mauroavello Good point! https://github.com/cretueusebiu/valet-windows/commit/f70cb17e24bcb27b228b3b5189c2aaeaa5f416e8