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 php version to be changed via ENV #13

Merged
merged 2 commits into from
Dec 8, 2020

Conversation

jackbrycesmith
Copy link
Owner

This allows you to override the default php version by setting a PHP_VERSION environment variable (e.g. PHP_VERSION=7.4.13) in the CapRover dashboard. Two things to bear in mind...

  1. Ensure the PHP_VERSION has been tagged in the official docker images
  2. Ensure any extensions are available: https://github.com/mlocati/docker-php-extension-installer

@jackbrycesmith jackbrycesmith merged commit 80be25b into master Dec 8, 2020
@jackbrycesmith jackbrycesmith deleted the configurable-php-version-by-env branch December 8, 2020 16:43
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

1 participant