Showing PHP module mysqlnd is missing || 01-Dec-2018

Hi,

I have configure LibreNMS. But on step of web installation, it shows " PHP module mysqlnd is missing."

See the attached file for reference… Kindly help me.

./validate.php

PHP Fatal error: Uncaught Error: Class ‘LibreNMS\DB\Eloquent’ not found in /opt/librenms/includes/dbFacile.php:27
Stack trace:
#0 /opt/librenms/includes/common.php(1164): dbIsConnected()
#1 /opt/librenms/validate.php(68): version_info()
#2 [internal function]: {closure}()
#3 {main}
thrown in /opt/librenms/includes/dbFacile.php on line 27
[FAIL] config.php does not exist, please copy config.php.default to config.php

Fatal error: Uncaught Error: Class ‘LibreNMS\DB\Eloquent’ not found in /opt/librenms/includes/dbFacile.php:27
Stack trace:
#0 /opt/librenms/includes/common.php(1164): dbIsConnected()
#1 /opt/librenms/validate.php(68): version_info()
#2 [internal function]: {closure}()
#3 {main}
thrown in /opt/librenms/includes/dbFacile.php on line 27

Hi,

What distro? If you are following the documentation it should be installed.

yum install php72w-mysqlnd

(For Debian/Ubuntu php-mysql is mysqlnd)

Probably they were using old or unofficial install docs…