Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Override PHP Path #28
I am trying to run the composer:install_executable task, however the path to php is incorrect as it is in a custom on my server and does not respond to just php for multiple version installs. is there a way to override :php in deploy.rb or deploy/environment.rb?
I've tried neither work:
SSHKit.config.command_map[:php] = '/path/to/php/bin/php' set :php, '/path/to/php/bin/php'
Line 17 composer.rake
execute :curl, "-s", fetch(:composer_download_url), "|", :php, composer_version_option
Should :php possibly be fetch(:php) much like the :composer_download_url?
Or am I just doing it wrong?
Overriding it in the command map should be what you want. However I'm wondering if since
In which case I'm not exactly sure what the solution without searching yet.
I'm attempting this now, hoping to get capistrano working on my shared hosting environment.
The last line of my
Even though it registers (at least it displays in the output of