valet: Upgraded PHP 7.4 - Error (The process has been signaled with signal 6 / 9.
It doesn’t appear that Valet is running at all for me any longer I get: Unable to Connect on Firefox and This site can’t be reached on Chrome
I upgraded PHP via brew update and then ran brew upgrade php
Valet on-lastest version: Yes
PHP -v: 7.4.0
Which PHP: /usr/local/bin/php
I also ran composer global upgrade and valet install.
Trying to run Brew Services List and Valet use PHP gives the following:

NOTE: I also tried valet uninstall --force but I get the error (Screenshot)

About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 23 (3 by maintainers)
For me the fix was the specific upgrade from nginx 1.15.9 to 1.17.8 by
brew upgrade nginx. Works like a charm now.I have it working now. There was so much output that it would really be too much to add here. I pretty much did what you suggested ie:
But I was still getting the same issue, and by accident actually I typed:
brew upgrade(I mean update) and it upgraded a bunch of services.I then reran
valet installfor sh*ts and giggles and it is now working 🤷♂Thank you for your comments. It was a big help.
brew upgrade nginxfixed it for me as wellbrew upgrade nginxfollowed byvalet installworked for meI also ran into this with Laravel Valet where I hit The process has been signaled with signal “6”. As per the rules, if it takes you longer than 20 minutes to solve, post about it. I did the following to get it working.
This is a dump of my terminal history. I fixed this yesterday and have no idea what did it, but throw everything at it and you’ll get things working.
Woot! Glad it’s working.
Perhaps in hindsight simply running
brew updateandbrew upgrade(not limiting it to justphp) might have been enough.I usually run
brew update && brew upgradeon a weekly basis.brew cleanupis handy too.Was experiencing the same issue and read this thread, tried a few things that didn’t work.
The “brew upgrade” and “valet install” fixed it all for me too 😃
Brew listed nginx as version 1.17.8 but uninstalling it and reinstalling nginx is what fixed it for me. Thanks for the pointer @richartkeil
I tried all the comments. But it just fuckup.
Finally, I add comment to /Users/username/.composer/vendor/symfony/process/Process.php 428. line
According to various sources (one of which is https://en.wikipedia.org/wiki/Signal_(IPC) ) Signal 6 is Abort, and Signal 9 is Kill
Symfony/Processis being used to run commands. In your case it seems to be failing when running commands related to installing/removing/configuring PHP. I wonder what Homebrew is saying behind-the-scenes.What’s the output of the following? I’m curious whether any errors occur, especially with verbose output.
brew services stop php -vvvandbrew services start php -vvvAlso, for diagnostics, let’s also try uninstalling all your PHP versions, since the
valet uninstall --forcewill loop through all and attempt to uninstall them, and you’re getting the error in that case as well as just with a restart.brew upgrade nginxit might tell you : Error: Could not remove nginx keg! Do so manually: sudo rm -rf /usr/local/Cellar/nginx/1.15.8
so do -->
sudo rm -rf /usr/local/Cellar/nginx/1.15.8brew update && brew upgradeit might tell you : Error: Could not remove dnsmasq keg! Do so manually: sudo rm -rf /usr/local/Cellar/dnsmasq/2.80
do go ahead and do -->
sudo rm -rf /usr/local/Cellar/dnsmasq/2.80valet restartI ran the following to successfully resolve Signal 6 issue:
During that restart, I got the firewall allow prompt in OSX, hit allow and valet restarted successfully. Sites loading now. Weird bug.
Got this error. I was trying to fetch data from DB before I applied migrations to create a table for that model. I was trying to fetch it inside a route (it was a lesson).
And “Signal 9” was uninformative.