Skip to content

Run path/to/php path/to/composer #90

@antoine1003

Description

@antoine1003

Hi,

I read that I could set up php and composer path in the config file :
MY CONFIG FILE

public function configure()
    {
        return $this->getConfigBuilder()
            ->server('[email protected]')
            ->deployDir('/kunden/homepages/9/d77835205/htdocs/des-hauts-debats')
            ->repositoryUrl('[email protected]:antoine1003/des-hauts-debats.git')
            ->remotePhpBinaryPath('/usr/bin/php7.1-cli')
            ->remoteComposerBinaryPath('/kunden/homepages/9/d77813505/htdocs/composer.phar')
            ->repositoryBranch('prod')
        ;
    }

But when I run php bin/console deploy it use just /kunden/homepages/9/d77813505/htdocs/composer.phar update for example and I want it to use the full syntax /usr/bin/php7.1-cli kunden/homepages/9/d77813505/htdocs/composer.phar update because the default server php version is outdated and I can't change it (mutualised server).

Is there any way to do it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions