Changing PHP settings
The values that most developers change are the memory limit and the max upload size. You can modify them in the settings and don’t need to go deep into configuration files.

php.ini file at ~/Library/Application Support/Herd/config/php/<version>/php.ini.
You can edit this file to change or add PHP settings for a specific PHP version.
If you want to quickly access your php.ini file via the CLI, you may use the
herd ini command.herd restart in your terminal. If a service does not restart properly, see Restarting Services.
Alternatively, you can use the herd restart command in the terminal.