Upgrading to PHP 7.2 on Ubuntu

1 · Adam Cook · March 15, 2019, 11 p.m.
I run LibreNMS in my homelab on a Ubuntu Server VM and it’s awesome. For a while I’ve been getting notifications for needing to bump from PHP 7.0 to 7.2 minimum. I mostly followed this post but I’ll detail a step that helped me automate installing and uninstalling all the extra modules which the last two steps seem to miss. I’ll also detail a snag I hit with nginx slapping me with 500 after updating to PHP 7.2. Add PPA Get current packages/modules Install 7.2 Install additional packages/mo...