Have the installer install php-xml in ubuntu 16.04, it's where the utf8_decode function is located (#2638)

This commit is contained in:
Daniel Meltzer 2016-09-19 19:28:07 -05:00 committed by snipe
parent e5098c3ba1
commit 7aea9341f8

View file

@ -260,7 +260,7 @@ case $distro in
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y lamp-server^ >> /var/log/snipeit-install.log 2>&1 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y lamp-server^ >> /var/log/snipeit-install.log 2>&1
if [ "$version" == "16.04" ]; then if [ "$version" == "16.04" ]; then
sudo apt-get install -y git unzip php php-mcrypt php-curl php-mysql php-gd php-ldap php-zip php-mbstring >> /var/log/snipeit-install.log 2>&1 sudo apt-get install -y git unzip php php-mcrypt php-curl php-mysql php-gd php-ldap php-xml php-zip php-mbstring >> /var/log/snipeit-install.log 2>&1
#Enable mcrypt and rewrite #Enable mcrypt and rewrite
echo "## Enabling mcrypt and rewrite" echo "## Enabling mcrypt and rewrite"
sudo phpenmod mcrypt >> /var/log/snipeit-install.log 2>&1 sudo phpenmod mcrypt >> /var/log/snipeit-install.log 2>&1