Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: curl, dom, gd, simplexml, xml

LibreNMS not working:

Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: curl, dom, gd, simplexml, xml.

[email protected]:~$ ./validate.php

Component Version
LibreNMS 22.12.0-25-gd86b9ce88 (2023-01-21T14:17:43+01:00)
DB Schema 2022_08_15_084507_add_rrd_type_to_wireless_sensors_table (248)
PHP 8.2.1
Python 3.10.6
Database MariaDB 10.6.11-MariaDB-0ubuntu0.22.04.1
RRDTool 1.7.2
SNMP 5.9.1
===========================================

[OK] Composer Version: 2.5.1
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK]
[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

What to do ?

Are you using the same PHP version in the webserver and the terminal (php-cli)?

How do I check that ?

Looks to be from the version from the cli.
To get the information from the webserver, put <?php phpinfo(); ?> in a test.php file and open the corresponding URL of it in a browser.