Http 500 after upgrade

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

[email protected]:/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

[email protected]:/opt/librenms$ ./scripts/composer_wrapper.php install --no-dev

Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
@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.

[email protected]:/opt/librenms$ ./validate.php

Component Version
LibreNMS 1.50-51-g39ff4c7
DB Schema 2019_02_10_220000_add_dates_to_fdb (132)
MySQL 10.0.38-MariaDB-0ubuntu0.16.04.1
RRDTool 1.5.5


[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
Make sure your cron is running and run ./ 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

[email protected]:~$ 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.