Skip to content

Commit

Permalink
Added pipeline php alternatives
Browse files Browse the repository at this point in the history
  • Loading branch information
yitam committed Jan 20, 2020
1 parent 6ce9901 commit 58b5161
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,12 @@ jobs:

- script: |
sudo update-alternatives --set php /usr/bin/php$(phpver)
sudo update-alternatives --set phpize /usr/bin/phpize$(phpver)
sudo update-alternatives --set phar /usr/bin/phar$(phpver)
sudo update-alternatives --set phpdbg /usr/bin/phpdbg$(phpver)
sudo update-alternatives --set php-cgi /usr/bin/php-cgi$(phpver)
sudo update-alternatives --set phar.phar /usr/bin/phar.phar$(phpver)
sudo update-alternatives --set php-config /usr/bin/php-config$(phpver)
php -version
displayName: 'Use PHP version $(phpver)'
Expand Down

0 comments on commit 58b5161

Please sign in to comment.