Upgraded php to 7.4 but Libre still is using php 7.2

Upgraded php to 7.4 when I do ./validate.php the results still show as PHP version 7.2.34. I’m I missing another step? How do I use the newest php 7.4 version.

bash-4.2$ ./validate.php

Component Version
LibreNMS 1.69-1-gbc02ab3
DB Schema 2020_10_21_124101_allow_nullable_ospf_columns (188)
PHP 7.2.34
Python 3.6.8
MySQL 5.5.68-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2
OpenSSL

====================================

Its up to your operating system to pick what default php version too use, consult its documentation regarding switching default versions.
You could always uninstall the php 7.2 package

Are you using Apache? If so have you told Apache you have a new PHP to use?

sudo a2dismod php7.2
sudo a2enmod php7.4
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.