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

Add custom PHP version (bin) to composer installation #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rsiddle
Copy link

@rsiddle rsiddle commented Jul 10, 2019

A working solution for issue #58

@@ -56,6 +56,7 @@ set :composer_working_dir, -> { fetch(:release_path) }
set :composer_dump_autoload_flags, '--optimize'
set :composer_download_url, "https://getcomposer.org/installer"
set :composer_version, '1.0.0-alpha8' #(default: not set)
set :composer_php_version, :php72 #(default: :php) Or use full path /usr/bin/php72
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder whether this might be clearer as composer_php_executable, since aren't really defining the version as much as the path. What do you think?

Suggested change
set :composer_php_version, :php72 #(default: :php) Or use full path /usr/bin/php72
set :composer_php_executable, :php72 #(default: :php) Or use full path "/usr/bin/php72"

@will-in-wi
Copy link
Contributor

Also, thanks for contributing!

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.

2 participants