]> BookStack Code Mirror - website/commitdiff
Added php version update commands for 16.04 script users
authorDan Brown <redacted>
Sun, 19 Jan 2020 14:35:14 +0000 (14:35 +0000)
committerDan Brown <redacted>
Sun, 19 Jan 2020 14:35:14 +0000 (14:35 +0000)
content/docs/admin/updates.md

index eb01a67d9b96984004eb1f23247e90be9d793035..0daf6b1c7c56dab4ff510524196705c363d9892f 100644 (file)
@@ -33,7 +33,17 @@ Check the below list for the version you are updating to for any additional inst
 
 #### Updating to v0.28 or higher
 
-**Framework Update** - BookStack now uses Laravel 6 which itself requires PHP 7.2 or higher. Make sure your PHP version matches that requirement before updating!
+**Requirements Change** - Minimum PHP version has increased from 7.0.5 to 7.2.
+
+If you installed BookStack on Ubuntu 16.04 using the install script, You should be able to upgrade your PHP version to 7.4 by doing the following:
+
+```bash
+sudo add-apt-repository -y ppa:ondrej/php
+sudo apt update
+sudo apt install -y 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
+sudo sed -i.bak 's/php7\.0-fpm/php7.4-fpm/' /etc/nginx/sites-available/bookstack
+sudo systemctl restart nginx.service
+```
 
 #### Updating to v0.26 or higher