Php version upgrade

Hi,

few days ago like everyone i think i received a notification about php version.
Strangely there is not much to read about.
So i decided to upgrade my php version to 7.2 (was on 7.0.30)
i followed these instructions
I installed php modules php7.2-mysql php7.2-mbstring php7.2-curl php7.2-gd php7.2-xml
My installation runs on a lxc debian container.
here is the result of php -v :

Blockquote
root@nms:/opt/librenms# php -v
PHP 7.2.13-1+0~20181207100540.13+stretch~1.gbpf57305 (cli) (built: Dec 7 2018 10:05:40) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.13-1+0~20181207100540.13+stretch~1.gbpf57305, Copyright (c) 1999-2018, by Zend Technologies

and ./validate.php

Blockquote
root@nms:/opt/librenms# ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 1.47-29-gdaffa7e27
DB Schema | 280
PHP | 7.2.13-1+0~20181207100540.13+stretch~1.gbpf57305
MySQL | 10.1.37-MariaDB-0+deb9u1
RRDTool | 1.6.0
SNMP | NET-SNMP 5.7.3
====================================

[OK] Composer Version: 1.8.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

in the gui validate config tells me all is ok but when i go to "about librenms"

So what have i done wrong ?
Is there an official doc about php upgrade ?

Seems like you have the 2 versions installed. Check with dpkg --get-selections | grep php and remove the old ones

1 Like

thank you, seems it makes the trick.

Strange it was not the same version in gui and in cli.