Welcome to the THELIA support and discusssion forum


The PaaS I want to deploy to allows setting environment variables from the command line. However, whereas Symfony's standard environment variables end up in $_SERVER, the platform's variables end up in $_ENV.

By default, Thelia/Symfony seems to only check $_SERVER for environment variables when parsing files like database.yml. How can I get Thelia to look in $_ENV instead?

Last edited by ctamayo (20-04-2017 00:00:03)