matomo-org / plugin-EnvironmentVariables

Allows you to specify Matomo config in environment variables instead of the config file.
12 stars 14 forks source link

Improve documentation for usage with PHP-FPM #3

Closed toredash closed 5 years ago

toredash commented 5 years ago

Add note on PHP-FPM usage.

For this plugin to work with PHP-FPM, it needs to be configured so that ENVs are exposed to PHP-FPM. The default (https://www.php.net/manual/en/install.fpm.configuration.php) is to strip all ENVs:

clear_env boolean Clear environment in FPM workers. Prevents arbitrary environment variables from reaching FPM worker processes by clearing the environment in workers before env vars specified in this pool configuration are added. Since PHP 5.4.27, 5.5.11, and 5.6.0. Default value: Yes.

closes #1 closes #2