Skip to content

Commit

Permalink
[Doc] Documented the recently added remotePhpBinaryPath() option
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed May 29, 2017
1 parent e84cdc2 commit ec75cf0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/default-deployer.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,16 @@ common for all deployers:
* `->server(string $sshDsn, array $roles = ['app'], array $properties = [])`
* `->useSshAgentForwarding(bool $useIt = true)`

### Composer Options
### Composer and PHP Options

* `->updateRemoteComposerBinary(bool $updateBeforeInstall = false)`
* `->remoteComposerBinaryPath(string $path = '/usr/local/bin/composer')`
* `->composerInstallFlags(string $flags = '--no-dev --prefer-dist --no-interaction --quiet')`
* `->composerOptimizeFlags(string $flags = '--optimize --quiet')`
* `->remotePhpBinaryPath(string $path = 'php')` the path of the PHP command
added to Symfony commands. By default is `php` (which means:
`php path/to/project/bin/console`). It's useful when the server has multiple
PHP installations (e.g. `->remotePhpBinaryPath('/usr/bin/php7.1-sp')`)

### Code Options

Expand Down

0 comments on commit ec75cf0

Please sign in to comment.