Everywhere All articles Download Buy — $19

Where apps hide your files

Herd and Valet: parked folders, nginx and php.ini

Updated 2026-10-28 · 5 min read

Herd serves ~/Herd and keeps its nginx, PHP and logs in ~/Library/Application Support/Herd, while Valet keeps its config in ~/.config/valet. Here is what is in each folder and how to tell which tool is serving a site.

Herd: sites and config

Laravel Herd serves sites from "parked" folders and "linked" projects. Its own docs say Herd parks ~/Herd by default, so anything in that folder is served at <folder-name>.test:

~/Herd

Herd's settings are in one folder under Application Support:

~/Library/Application Support/Herd

Herd's "Directories and Files" page describes what is in it:

Path under ~/Library/Application Support/HerdWhat it holds
binHerd's binaries, including composer and downloaded PHP versions
configConfig for every Herd service (the general settings can open it, as "Configuration Files")
config/herd.jsonSettings shared by the app and the CLI
config/nginxnginx.conf and herd.conf
config/valet/NginxSite-specific nginx files, named after the site domain
config/valet/workspaces.jsonHerd's list of workspaces
config/php/<version>/php.iniOne php.ini per PHP version
config/error_pagesThe pages Herd shows when PHP-FPM does not answer
Lognginx and php-fpm logs (mail logs too in Herd Pro)

The docs say a site gets its own nginx file when you isolate its PHP version or secure it with TLS, and that you can edit it. A "Bad Gateway" error can point to a mistake in nginx.conf or herd.conf.

Parked or linked: which one serves a site

A parked path serves every project inside it. A linked directory serves one project from anywhere. From Terminal, Herd's docs give:

cd ~/Code/your-project
herd link

That serves the project at your-project.test, and herd link custom-domain picks the name. herd unlink reverses it. To add a parked folder, use Herd's general settings, as its docs describe. The Applications window lists both kinds and its inspector shows each site's PHP version and HTTPS setting.

Take care with the button at the bottom of the inspector: Herd's docs say that for a parked application it deletes the site and moves its folder to the Trash, while for a linked one it only unlinks and keeps the files.

Herd's PHP settings

Each PHP version has its own file at ~/Library/Application Support/Herd/config/php/<version>/php.ini, and herd ini opens it, per Herd's PHP settings page. For upload size and memory limit, Herd's docs prefer its settings window to hand-edited files. If you change a site's PHP version, herd isolate 8.3 (or another version) creates the site's own nginx file.

Herd Pro databases

Herd Pro services such as MySQL keep their data in their own folders. Herd's MySQL page says you can right-click the service in settings and open its data directory, which contains the my.cnf that instance loads. Use that menu rather than guessing a path.

Valet: the older command-line route

Laravel Valet is the command-line tool that came before Herd. It runs nginx, PHP and DnsMasq from Homebrew and uses the same park and link idea. It keeps its settings in a hidden folder in your home directory:

~/.config/valet

Laravel's Valet documentation lists what is in it:

PathWhat it holds
~/.config/valet/config.jsonValet's master configuration file
~/.config/valet/NginxNginx site configs, rebuilt by install and secure
~/.config/valet/SitesSymbolic links for linked projects
~/.config/valet/DriversCustom and sample drivers
~/.config/valet/dnsmasq.dDnsMasq config
~/.config/valet/Logfpm-php.www.log and nginx-error.log
~/.config/valet/valet.sockThe PHP-FPM socket, present only while PHP is running

Valet's docs say to maintain a backup of ~/.config/valet. To see which folders you parked, run valet paths, which Valet's docs describe as listing your parked paths, and valet links lists linked sites.

PHP and nginx come from Homebrew. Valet's page lists /usr/local/etc/php/X.X/conf.d for PHP .ini files and /usr/local/var/log/nginx for nginx logs. Those are the Intel Homebrew locations; on an Apple silicon Mac Homebrew's prefix is /opt/homebrew, so look under /opt/homebrew/etc/php and /opt/homebrew/var/log/nginx instead, and confirm with ls.

Protected folders

macOS restricts Desktop, Documents and Downloads. Valet's docs recommend keeping site folders outside them, or giving nginx Full Disk Access, and warn that otherwise nginx can fail in unpredictable ways, especially with static files. Herd's docs use ~/Herd and ~/Code in their examples, both outside the protected folders.

Before you edit a config file

Copy the file first (for example cp php.ini php.ini.backup in the same folder), make one change, then restart the site or the tool so it loads the change, and open the site to check it. If something breaks, copy the backup over the edited file and restart again. Herd's docs say the whole Herd folder can be deleted to reinstall from scratch, but that also removes your PHP versions and settings, so treat it as a last resort.

Herd or Valet, not both

Both bind port 80 for .test domains, and Valet's installation notes say no other program should already be using it. Herd's installation guide says that on first launch Herd detects Valet, migrates its sites, certificates and settings, and asks you to stop Valet if it is running. It leaves Valet's own files untouched, so to go back you quit Herd and run valet start. If one tool seems to ignore your changes, check which is running before editing its files.

Finding a config file next time

Type a site's domain, such as my-project.test, into Everywhere: when a site has its own nginx file (Herd writes one when you isolate or secure a site, Valet when you secure it), both tools name that file after the domain, so the folder column shows whether it came from Herd's config/valet/Nginx or Valet's ~/.config/valet/Nginx. Application Support, the hidden .config folder and ~/Herd are part of its normal scan; projects kept in Documents appear once it has Full Disk Access. It matches file names only, so it will not show you the lines inside a config.

Common questions

Where does Laravel Herd keep its config files on a Mac?

In ~/Library/Application Support/Herd/config, with nginx files in config/nginx and one php.ini per version in config/php/<version>. Herd's settings can open it for you.

What is the default Herd sites folder?

~/Herd. Herd's docs say it parks that folder by default, so each project inside is served at <folder-name>.test.

Where is Valet's configuration on a Mac?

In ~/.config/valet, which holds config.json, the Nginx, Sites, Drivers and Log folders. Laravel's docs advise keeping a backup of it.

Where is php.ini in Herd?

Each PHP version has its own at ~/Library/Application Support/Herd/config/php/<version>/php.ini, and the herd ini command opens it.

Find any file before you finish typing

Everywhere keeps track of every file on your Mac — including the folders Spotlight hides and drives you have unplugged. Free for a day, then $19 once.

Version 2.20.3 · macOS 13+ · 4.7 MB · notarised

Related

© 2026 Caretopia Network Private Limited Everywhere for Mac Buy a licence Articles Privacy Support