-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #17 Add option to set remote PHP path (rubenrubiob)
This PR was merged into the 1.0.x-dev branch. Discussion ---------- Add option to set remote PHP path There are some server configurations/services that have multiple PHP versions installed and, therefore, the default `php` binary may not point to the required version for the project. I added a new option to that allows to set the remote PHP binary path in deployer configuration: ```php public function configure() { return $this->getConfigBuilder() ->remotePhpBinaryPath('/usr/bin/php7.1') // ... ; } ``` Then, all console commands are prepended by the php path: ``` /usr/bin/php7.1-sp /path/to/project/releases/20170528000748/bin/console ``` The default path, in case it is not set, is `php`, as it was set originally. Commits ------- c8c4896 Add option to set remote PHP path
- Loading branch information
Showing
3 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters