Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow _env to check getenv as well as $_ENV #6

Closed
wants to merge 1 commit into from

Conversation

mosiyash
Copy link

No description provided.

@harikt
Copy link
Member

harikt commented Jan 30, 2014

An earlier PR #5 by @garoevans has been closed by @pmjones in favour of https://github.com/vlucas/phpdotenv .

or are you having any other issues using it ?

@pmjones
Copy link
Member

pmjones commented Apr 4, 2014

@mosiyash or @garoevans , can one of you explain the benefit of getenv() over $_ENV here?

@garoevans
Copy link

I have a feeling that some environment variables set through Apache ended up in _SERVER but not _ENV. getenv() I believe found these. In bed, on mobile so can't test right now.

@garoevans
Copy link

Original issue: #4

@pmjones
Copy link
Member

pmjones commented Apr 7, 2014

This appears to be related to Windows, and to php.ini settings missing the "E" in "EGPCS". Cf http://stackoverflow.com/questions/3780866/why-is-my-env-empty. If this continues to be a problem, please let me know.

@pmjones pmjones closed this Apr 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants