Web Page doesn't work after upgrading OS

I get this message after an upgrade of ubuntu:

<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell */ /* |-------------------------------------------------------------------------- | Register The Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader for | our application. We just need to utilize it! We'll simply require it | into the script here so that we don't have to worry about manual | loading any of our classes later on. It feels great to relax. | */ require __DIR__.'/../bootstrap/autoload.php'; /* |-------------------------------------------------------------------------- | Turn On The Lights |-------------------------------------------------------------------------- | | We need to illuminate PHP development, so let us turn on the lights. | This bootstraps the framework and gets it ready for use, then it | will load up this application so that we can run it and send | the responses back to the browser and delight our users. | */ $app = require_once __DIR__.'/../bootstrap/app.php'; /* |-------------------------------------------------------------------------- | Run The Application |-------------------------------------------------------------------------- | | Once we have the application, we can handle the incoming request | through the kernel, and send the associated response back to | the client's browser allowing them to enjoy the creative | and wonderful application we have prepared for them. | */ $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); $response = $kernel->handle( $request = Illuminate\Http\Request::capture() ); $response->send(); $kernel->terminate($request, $response); After Upgrading it installed PHP7.0, so i removed it: librenms:/opt/librenms# dpkg --get-selections | grep php libapache2-mod-php7.2 install php-cli-prompt install php-common install php-composer-semver install php-composer-spdx-licenses install php-json-schema install php-net-ipv4 install php-net-ipv6 install php-pear install php-symfony-console install php-symfony-filesystem install php-symfony-finder install php-symfony-process install php7.2-cli install php7.2-common install php7.2-curl install php7.2-gd install php7.2-json install php7.2-mbstring install php7.2-mysql install php7.2-opcache install php7.2-readline install php7.2-snmp install php7.2-xml install php7.2-zip install

Sounds similar to Upgrade ubuntu 16.04 to 18.04 - DB Issue

You need to reinstall PHP 7.2

Not only reinstall, you need to completely remove PHP and install it again. Thans for the help.

Does this also apply if you can still access LibreNMS normally by using /devices, /pollers etc, but the login system appears to be broken, and the / page appears as above?

Looks like all devices are still polling properly, RRD graphs being created, etc. It is just the authentication system it seems…

[Edit: tried another browser completely and everything is working fine. The page was cached in my browser apparently. Please ignore.]