Documentation for macOS
#Herd Directories and Files
You may find the following files and directories helpful while you are troubleshooting issues with Herd.
#Main directory
The main directory contains all the following config files and directories and is a good start when troubleshooting issues with Herd. You may delete this folder if you plan to re-install Herd from scratch.
~/Library/Application Support/Herd/
#Binaries
You can find all binaries of Herd in this directory. This includes binaries like composer or expose that ship with Herd as well as downloaded binaries like the latest PHP versions.
~/Library/Application Support/Herd/bin
#Config
All config files for all Herd services live in this directory.
~/Library/Application Support/Herd/config
nginx
The nginx directory contains a herd.conf
and the nginx.conf
. Herd uses both to decide which sites it serves and what happens to files. In case you see a Bad Gateway
error, there could be an issue in one of these files.
~/Library/Application Support/Herd/config/nginx
php
This directory contains all php.ini
files for all PHP versions on your machine. If you use Herd Pro, it also contains debug.ini
files that Xdebug uses when you enable it for a request. If you're in debug mode, Herd loads the normal php.ini
and applies the debug.ini
on top.
~/Library/Application Support/Herd/config/php
Log
Herd stores all logs of nginx and php-fpm in this directory. It may also contain mail logs if you use Herd Pro.
~/Library/Application Support/Herd/config/log