Upgrade to PHP7.3 has broken apache

Hi,
I’ve tried to upgrade PHP and in the process I’ve now broken the web interface to Libre. I followed instructions here after getting the message that 7.2 would not be supported for long:
https://php.watch/articles/Ubuntu-PHP-7.3
I was getting a warning after the install that apache was using the old version, so I used the remove instructions in that document.

apt purge php7.2 php7.2-common

I now get the same content on any webpage relating to the autoloader.
/ / |-------------------------------------------------------------------------- | 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);

I’m a bit lost as to how to fix this. Everything I run on the Ubuntu server (vaildate.sh, daily.sh, git pull) runs fine with no issues.
Any assistance would be much appreciated.

Fixed by running:

sudo a2enmod mpm_prefork && sudo a2enmod php7.3

systemctl restart apache2

Looks like I had to enable PHP :slight_smile: