Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop Laravel valet auto-start in Mac OS

the valet server conflict with apache , How to stop the auto-start , What is the principle of the auto start ? thanks!

like image 757
overstack Avatar asked Jun 10 '16 16:06

overstack


2 Answers

If you run valet uninstall you will have to reinstall valet if you want to use it. What I've done on my install was to removing launch agents from registered on-start-up services. In order to do so you have to use launchctl :

launchctl remove homebrew.mxcl.dnsmasq
launchctl remove homebrew.mxcl.nginx
launchctl remove homebrew.mxcl.php
launchctl remove [email protected]; //and other versions of php loaded. 

See https://rakhesh.com/mac/macos-launchctl-commands/

Then you if you want to start valet you will have to do

valet start

See https://laravel.com/docs/8.x/valet#other-valet-commands/

If you want to stop all the services then type in the command line

valet stop
like image 52
CRavon Avatar answered Sep 24 '22 08:09

CRavon


Run in terminal: valet uninstall https://laravel.com/docs/5.5/valet#other-valet-commands

like image 30
shakurov Avatar answered Sep 21 '22 08:09

shakurov