Is there any way to configure security key via environment variable? #203
-
We are using one docker image for running applications in different environments and we want to change the required security key for different environments (for example, for stage/production) Is there any way to configure |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No it is currently an INI entry only. You can however override your php-fpm container's entry point in order to add |
Beta Was this translation helpful? Give feedback.
-
We found a way to use environment variables in PHP docs and just checked in production - it works like a charm. https://www.php.net/manual/en/configuration.file.php spx.http_key="${PHP_SPX_SECRET}" |
Beta Was this translation helpful? Give feedback.
We found a way to use environment variables in PHP docs and just checked in production - it works like a charm.
https://www.php.net/manual/en/configuration.file.php