Skip to content
Discussion options

You must be logged in to vote

@ehnwebmaster
Yes, even if you're not creating a new container, you'll need to restart the container so services like PHP-FPM and Nginx can reload the environment variables.

You can run the following command to set the environment variable on the running container before restarting it:

env-default PHP_ACCESS_LOG /dev/null

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by shinsenter
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants