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

Customizing the PHP-FPM config #94

Open
stof opened this issue Feb 20, 2014 · 3 comments
Open

Customizing the PHP-FPM config #94

stof opened this issue Feb 20, 2014 · 3 comments

Comments

@stof
Copy link
Collaborator

stof commented Feb 20, 2014

Unless I missed something, the buildpack does not allow customizing the PHP-FPM config.

I need it in one of my project to forward some environment variables from the dyno (set through the heroku config) to the PHP process to access them at runtime

@CHH
Copy link
Owner

CHH commented Feb 20, 2014

@stof All variables set with heroku config are automatically written to the FPM config and should be available at runtime in both $_SERVER and $_ENV. (See also http://chh-php-test.herokuapp.com/info)

@stof
Copy link
Collaborator Author

stof commented Feb 20, 2014

ah, I missed the fact that this is handled by the script run at boot time. thanks

However, it may still make sense to allow customizing the FPM config for other purposes. What do you think ?

@CHH
Copy link
Owner

CHH commented Feb 20, 2014

@stof Yes it makes sense to me 😃

crohr pushed a commit to pkgr/heroku-buildpack-php that referenced this issue Oct 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants