-
Notifications
You must be signed in to change notification settings - Fork 77
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
php doesn't recognize environment variables #4
Comments
You need to modify Just copy the Indeed, the way env is done in the original buildpack |
I've added this feature to commit 997e021. Please help me test this in the
Let me know if it works. |
Thank you Ronald, it works :) Especially if I start a fresh app, e.g.:
Changing BUILDPACK_URL on existent app doesn't seems to reflect instantly, only after the next push, but I assume it is something heroku specific. |
Yes, it's heroku specific as the changes to the buildpack will only be exhibited in the app after the "compilation process". I will merge it into Shall close this issue. |
I might be missing, but php doesn't see environment variables with this buildpack, e.g.:
or
doesn't return anything.
I also found that original buildpack puts environment variables into httpd.conf in boot.sh script, see: https://github.com/heroku/heroku-buildpack-php/blob/master/bin/compile#L50
The text was updated successfully, but these errors were encountered: