Http 500 after upgrade

i have upgraded php 7.2 but still error 500 from the browser page

librenms@librenms:/opt/librenms$ sudo a2enmod php7.2
Considering dependency mpm_prefork for php7.2:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php7.2:
Module php7.2 already enabled

librenms@librenms:/opt/librenms$ ./scripts/composer_wrapper.php install --no-dev

LibreNMS\ComposerHelper::preInstall
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
Discovered Package: fideloper/proxy
Discovered Package: laravel/laravel
Discovered Package: laravel/nexmo-notification-channel
Discovered Package: laravel/slack-notification-channel
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: oriceon/toastr-5-laravel
Package manifest generated successfully.
LibreNMS\ComposerHelper::postInstall
Illuminate\Foundation\ComposerScripts::postInstall

librenms@librenms:/opt/librenms$ ./validate.php

Component Version
LibreNMS 1.50-51-g39ff4c7
DB Schema 2019_02_10_220000_add_dates_to_fdb (132)
PHP 7.2.17-1+ubuntu16.04.1+deb.sury.org+3
MySQL 10.0.38-MariaDB-0ubuntu0.16.04.1
RRDTool 1.5.5
SNMP NET-SNMP 5.7.3
====================================

[OK] Composer Version: 1.8.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your install is over 24 hours out of date, last update: Sat, 20 Apr 2019 17:32:17 +0000
[FIX]:
Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.

Considering conflict php5 for php7.2

try a2dismod php5

did that before.

this is the result

librenms@librenms:~$ a2dismod php5
ERROR: Module php5 does not exist!

Maybe try this just to make sure it’s using the right one

(if this is the path to the bin)

sudo update-alternatives --set php /usr/bin/php7.2

and restart apache2

Double check your conf files too.