Hi Mwsaz,

Thanks for your reply.

My original gist was indeed incorrect but like I said in the post, I
tried both as I saw SYMFONY__DOCTRINE__DBAL__USERNAME in the slides of
a Symfony2 presentation.

Anyway, that didn't resolve the issue.
If I inspect the request in the profiler I do see these environment
variables.
So it appears that part of the config is ok..

Any thoughts?

Kindest regards,

Marijn

On Dec 8, 9:13 pm, mwsaz <[email protected]> wrote:
> Hi,
>
> Could you check that these are passed to PHP by adding a
> print_r($_SERVER);exit(); in one of your files ?
>
> Also, you should use SYMFONY__DOCTRINE__DBAL__USER instead of
> SYMFONY__DOCTRINE__DBAL__USERNAME.
>
> On Dec 8, 11:51 am, Marijn <[email protected]> wrote:
>
>
>
> > Hi guys,
>
> > I'm having some trouble setting my database username and password from
> > my apache configuration file for Symfony2.
> > Is this no longer supported?
>
> > My apache directive:https://gist.github.com/733132
>
> > I've also tried using the username key in favor of the user key. That
> > didn't resolve the issue.
>
> > Any help is much appreciated,
>
> > Marijn Huizendveld

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to