After Ubuntu update, PHP version of your webserver (8.3.19) does not match the cli version (8.4.5)

The validate.php runs error free but when I run the Validate Config in the GUI, I get the error under php FAIL: PHP version of your webserver (8.3.19) does not match the cli version (8.4.5)

I have restarted the VM without any change, I do not see any issues in the GUI but would like to resolve before it causes problems. I am running LibreNMS on Ubuntu 22.04.5 LTS. I can see there are 3 versions of php on the server, 8.1, 8.3 and 8.4.
Do I need to redo the install portion to update everything related to 8.3 and change that to 8.4?

librenms@proxlibrenms:~$ ./validate.php

Component Version
LibreNMS 25.4.0-17-geea4b297b (2025-04-21T15:59:22-06:00)
DB Schema 2025_03_19_205700_fix_ospfv3_ports_table (331)
PHP 8.4.5
Python 3.10.12
Database MariaDB 10.6.21-MariaDB-0ubuntu0.22.04.2
RRDTool 1.7.2
SNMP 5.9.1
===========================================

[OK] Composer Version: 2.8.8
[OK] Dependencies up-to-date.
[OK] Database Connected
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached
librenms@proxlibrenms:~$

  • Steps to reproduce an issue. Open LibreNMS GUI, click on the gear and then Validate Config. The php fails with the error but only in the GUI. The fix says to restart php-fpm but a server restart did not make any difference.

Is there a document to convert webserver from 8.3 to 8.4?

Make sure you have php8.4-fpm installed and the service is running then adjust /etc/nginx.conf.d/librenms.conf file to point to /run/php/php8.4-fpm.sock

location ~ [^/].php(/|$) {
fastcgi_pass unix:/run/php/php8.4-fpm.sock;
fastcgi_split_path_info ^(.+.php)(/.+)$;
include fastcgi.conf;
}