From: Dan Brown Date: Sun, 19 Jan 2020 14:59:59 +0000 (+0000) Subject: Updated ubuntu 16.04 scripts to use php7.4 X-Git-Url: http://source.bookstackapp.com/devops/commitdiff_plain/94af8f834d483fa85fd0b2757ce2a589c4282b59 Updated ubuntu 16.04 scripts to use php7.4 --- diff --git a/config/nginx b/config/nginx index adcc59d..530b991 100644 --- a/config/nginx +++ b/config/nginx @@ -13,6 +13,6 @@ server { location ~ \.php$ { include snippets/fastcgi-php.conf; - fastcgi_pass unix:/run/php/php7.3-fpm.sock; + fastcgi_pass unix:/run/php/php7.4-fpm.sock; } } diff --git a/scripts/installation-ubuntu-16.04.sh b/scripts/installation-ubuntu-16.04.sh index 0f91513..e21bb3e 100644 --- a/scripts/installation-ubuntu-16.04.sh +++ b/scripts/installation-ubuntu-16.04.sh @@ -12,8 +12,8 @@ export DEBIAN_FRONTEND=noninteractive apt update apt install -y software-properties-common python-software-properties add-apt-repository -yu ppa:ondrej/php -apt install -y git nginx curl php7.3-fpm php7.3-curl php7.3-mbstring php7.3-ldap \ -php7.3-tidy php7.3-xml php7.3-zip php7.3-gd php7.3-mysql mysql-server-5.7 +apt install -y git nginx curl php7.4 php7.4-fpm php7.4-curl php7.4-mbstring php7.4-ldap \ +php7.4-tidy php7.4-xml php7.4-zip php7.4-gd php7.4-mysql mysql-server-5.7 # Set up database DB_PASS="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 13)"