Bacularis API - Missing dependencies

14 views
Skip to first unread message

Meth

unread,
Oct 22, 2024, 9:40:33 AM10/22/24
to bacularis
Hello, I got an error like below.

Please install PHP BCMath module.
To run Bacularis API please correct above requirements and refresh this page in web browser.

 I have LibreNMS installed on my system and I think php 8.1 is installed (I checked with dpkg -l | grep php) I installed Bacularis as a client and I want it to use php 7.4. LibreNMS is broadcasting from Apache with php 8.1  and I use nginx as a web server. How can I fix this without damaging LibreNMS?


Marcin Haba

unread,
Oct 22, 2024, 9:54:00 AM10/22/24
to Meth, bacularis
Hi Meth,

I have never used LibreNMS but I know what this error means. It means
that on the system with Bacularis you need to install the php-bcmath
package. Normally it is installed together with Bacularis as the
Bacularis dependency but in this case it looks that something has
happened with the PHP BCmath module that is absent (or disabled)

I would propose to check if the php-bcmath package is installed first.
If it isn't, please install it. If it is, please check in the PHP
settings if this extension is enabled.

For PHP versions, Bacularis works with 7.4 the same well as with PHP
8.1, so there can be used any of them.

Best regards,
Marcin Haba (gani)
Reply all
Reply to author
Forward
0 new messages