File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ CURRENT_IP=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -
1818# Install core system packages
1919export DEBIAN_FRONTEND=noninteractive
2020add-apt-repository universe
21- apt update
22- apt install -y git apache2 php7.2 curl php7.2 -fpm php7.2 -curl php7.2 -mbstring php7.2 -ldap \
23- php7.2-tidy php7.2- xml php7.2 -zip php7.2 -gd php7.2 -mysql mysql-server-5.7 libapache2-mod-php7.2
21+ add- apt-repository -yu ppa:ondrej/php
22+ apt install -y git apache2 php7.4 curl php7.4 -fpm php7.4 -curl php7.4 -mbstring php7.4 -ldap \
23+ php7.4- xml php7.4 -zip php7.4 -gd php7.4 -mysql mysql-server-5.7 libapache2-mod-php7.4
2424
2525# Set up database
2626DB_PASS=" $( head /dev/urandom | tr -dc A-Za-z0-9 | head -c 13) "
@@ -71,7 +71,7 @@ chown www-data:www-data -R bootstrap/cache public/uploads storage && chmod -R 75
7171
7272# Set up apache
7373a2enmod rewrite
74- a2enmod php7.2
74+ a2enmod php7.4
7575
7676cat > /etc/apache2/sites-available/bookstack.conf << EOL
7777<VirtualHost *:80>
You can’t perform that action at this time.
0 commit comments