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

Env Variable on your own server #1082

Closed
samifouad opened this issue Jun 5, 2018 · 2 comments
Closed

Env Variable on your own server #1082

samifouad opened this issue Jun 5, 2018 · 2 comments
Assignees
Labels
type: question Request for information or clarification. Not an issue.

Comments

@samifouad
Copy link

Running Apache/PHP 7.x on Ubuntu 16.04, along with I'm sure several other similar configurations, will result in an error where after you follow the guide to update your PATH, PHP will not pick up new environment variable. You can reload Apache, restart the server all you like but it will not read.

You must define it manually. You can do it within PHP.ini, Apache VirtualHost, or the simple way via .htaccess:

SetEnv GOOGLE_APPLICATION_CREDENTIALS [path_to_json_file]

Cheers

@dwsupplee
Copy link
Contributor

Hey @samifouad, thanks for the issue.

will result in an error where after you follow the guide to update your PATH

Could you please point me to the guide followed?

@JustinBeckwith JustinBeckwith added triage me I really want to be triaged. 🚨 This issue needs some love. and removed 🚨 This issue needs some love. labels Jun 8, 2018
@jdpedrie jdpedrie added the type: question Request for information or clarification. Not an issue. label Jun 9, 2018
@JustinBeckwith JustinBeckwith removed the triage me I really want to be triaged. label Jun 9, 2018
@dwsupplee
Copy link
Contributor

@samifouad Thanks again for the information. I'm going to close this out for now, please feel free to re-open if there is anything else you would like to address :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

4 participants