[Solved]PHP error on mongodb after installation to 22.7

Started by flushell, July 31, 2022, 02:51:49 PM

Previous topic - Next topic
I had serveral PHP errors after installation of 22.7 (problem detected in GUI). One of them displayed here:

PHP Errors:
[31-Jul-2022 12:38:35 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20200930/mongodb.so (Cannot open "/usr/local/lib/php/20200930/mongodb.so"), /usr/local/lib/php/20200930/mongodb.so.so (Cannot open "/usr/local/lib/php/20200930/mongodb.so.so")) in Unknown on line 0


Turns out it was a leftover from Sensei (probably) I had once installed.
Logging in via SSH and doing a

pkg remove php74-pecl-mongodb

solved it. Thanks to the German forums.
Posting for reference.

Thanks for the find, just completed update to 22.7 and same thing happening on my firewall. Looks like it's resolved.


Same here. After cmd and reboot this php-error no longer appeares.
Thx!