Hello,

A |clear_env |settings had been added in php 5.4 with default |clear_env = yes| to avoid BC I imagine. With service such as heroku or with docker, and followinf the 12 factor principles, configuration from other services are defined with env vars. What do you think about changing the default to |clear_env = no| ? It would also match the behavior of using php with apache mod. Is it possible for 7.0 ? I don't know if it's too late for this kind of change but I guess that if it's not for 7.0 it would have to wait for 8.0 isn't it ?

I didn't find much information about this change (even finding about |clear_env| is not that easy when search for "php fpm env var") so I don't know if there is others reason than BC.

thank you

--
Mathieu Rochette

Reply via email to