Skip to main content

Restarting Herd Services

It might happen that Herd displays that a service like FPM is not running for a specific PHP version. This can happen if Herd is unable to properly shut down all background services when you close the app or migrate from a previous setup.

Via the GUI

You may force a restart of all Herd services by clicking on the Herd icon in the menu bar and selecting Restart. Herd forcefully stops all of its services, including nginx, dnsmasq, PHP-FPM and your Herd Pro services, and starts them again after a few seconds. If you need to stop and start the services separately, enable “Debug Mode” in the About tab of the settings. When you hold the option key ⌥ while opening the Herd menu, it then shows Force Stop All and Start All.

Via the terminal

To kill all stray services, go to your terminal and perform the killall command for every service that is still running, naming the services.

Force a shutdown of all Herd services

This command shuts down all processes that Herd might run (PHP 7.4 - 8.6, Nginx and Dnsmasq).

Restart the background service

Herd has a background service that is responsible for running nginx and dnsmasq as root on your machine. You can shutdown this services by terminating if via the activity monitor of macOS and searching for a service with the name de.beyondco.herd.helper.