]> BookStack Code Mirror - devops/commitdiff
adding php7.2 to list of things to install 20/head
authorjrucker2004 <redacted>
Sat, 11 May 2019 01:08:52 +0000 (18:08 -0700)
committerGitHub <redacted>
Sat, 11 May 2019 01:08:52 +0000 (18:08 -0700)
I ran into a lot of problems using this script.  After running through it manually, and installing php7.2 when I noticed it wasn't included in the list, everything worked fine.

scripts/installation-ubuntu-18.04.sh

index 67672313033e3f644efb1501897ecda194a2e85e..45e3f926520edf55dd73368839493ea32f78fb64 100644 (file)
@@ -19,7 +19,7 @@ CURRENT_IP=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -
 export DEBIAN_FRONTEND=noninteractive
 add-apt-repository universe
 apt update
-apt install -y git apache2 curl php7.2-fpm php7.2-curl php7.2-mbstring php7.2-ldap \
+apt install -y git apache2 php7.2 curl php7.2-fpm php7.2-curl php7.2-mbstring php7.2-ldap \
 php7.2-tidy php7.2-xml php7.2-zip php7.2-gd php7.2-mysql mysql-server-5.7 libapache2-mod-php7.2
 
 # Set up database