We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd930ed + dd17bb9 commit 9efa9d1Copy full SHA for 9efa9d1
cli/Valet/PhpFpm.php
@@ -202,6 +202,10 @@ function useVersion($version, $force = false)
202
203
$this->stopRunning();
204
205
+ // remove any orphaned valet.sock files that PHP didn't clean up due to version conflicts
206
+ $this->files->unlink(VALET_HOME_PATH.'/valet.sock');
207
+ $this->cli->quietly('sudo rm ' . VALET_HOME_PATH.'/valet.sock');
208
+
209
// ensure configuration is correct and start the linked version
210
$this->install();
211
0 commit comments