Herd for macOS


PHP Settings

Changing PHP.ini settings

Herd gives you easy access to the PHP configuration files used by all installed PHP versions.

Each installed PHP version has its own php.ini file located at ~/Library/Application Support/Herd/config/php/<version>/php.ini. You can edit this file to change the PHP settings for the specified PHP versions.

The changes will be immediately available to the PHP CLI version. In order to apply the changes to nginx, you need to restart it.

This can be done by clicking "Stop all" and then "Start all" in the Herd dropdown menu in the menu bar.

Alternatively, you can use the herd restart command in the terminal.

$ herd restart