Skip to content

PHP Variable not changing #45

@KyreusR

Description

@KyreusR

During the deploy capistrano try to download composer with "php" but it should use "php7cli".
I've added these lines in my deploy.rb:
SSHKit.config.command_map[:php] = "php7cli" SSHKit.config.command_map[:composer] = "php7cli #{shared_path.join("composer.phar")}"

php7cli is and alias in my .bashrc. I've tried it with an complete path but still it doesnt work.

I've also tried this in my production.rb:
etch(:default_env).merge!(PATH: '$PATH:usr/local/bin/php7-70STABLE-CLI')

Still... No luck for me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions