symfony/symfony-docs — Issue #859: cookbook "How to Set External Parameters in the Service Container" misses vars
Author: garak
Created: 2011-11-17 14:38:55+00:00
State: open

The cookbook part in subject shows how to set environment variables in web server (apache).
Anyway, if you miss to configure same environment variables in shell, you cannot execute app/console.

Here is how to set variables in Unix-like terminal:

export SYMFONY__DATABASE__USER=user
export SYMFONY__DATABASE__PASSWORD=secret

sorry, I don't know how to do it in Windows.