Skip to content

Commit ec75cf0

Browse files
committed
[Doc] Documented the recently added remotePhpBinaryPath() option
1 parent e84cdc2 commit ec75cf0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/default-deployer.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,16 @@ common for all deployers:
110110
* `->server(string $sshDsn, array $roles = ['app'], array $properties = [])`
111111
* `->useSshAgentForwarding(bool $useIt = true)`
112112

113-
### Composer Options
113+
### Composer and PHP Options
114114

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

120124
### Code Options
121125

0 commit comments

Comments
 (0)