Crash report: PHP unable to load dynamic library mongodb.so

Started by dunxd, October 30, 2026, 10:30:12 PM

Previous topic - Next topic
After updating to 26.7.8 from 26.7.7 today, I get a crash report every second with these errors:
PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20250925/mongodb.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so"), /usr/local/lib/php/20250925/mongodb.so.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so.so")) in Unknown on line 0OPNsense seems to be working fine otherwise.

I saw #msg270385

It mentions php83-pecl-mongodb and that some people had that left over from a previous install of zenarmor. I had zenarmor till a few months ago. I suspect this was left over from then, and I didn't notice the crash error as the messages indicator isn't visible on the web interface on a small mobile phone screen which I use most of the time.

Anyway, I went ahead and deleted the package and restarted the webgui and the message is now gone.