Skip to content

Commit

Permalink
Merge pull request #30 from nanasess/add-php7.4-xml
Browse files Browse the repository at this point in the history
Add php7.4-xml
  • Loading branch information
nanasess authored Dec 31, 2019
2 parents 806aa4f + dcaa9ee commit e1d11c8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/apt-install-php-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ sudo apt-fast install -y \
php${version}-phpdbg \
php${version}-intl

# see https://github.com/nanasess/setup-php/issues/29
if [ $version = '7.4' ]
then
sudo apt-fast install -y \
php${version}-xml
fi

sudo update-alternatives --set php /usr/bin/php${version}
sudo update-alternatives --set phar /usr/bin/phar${version}
sudo update-alternatives --set phpdbg /usr/bin/phpdbg${version}
Expand Down

0 comments on commit e1d11c8

Please sign in to comment.