Repository navigation
is MongoDB extension not supported? #584
Unanswered
bornemisza
asked this question in
Q&A
Replies: 4 comments 4 replies
|
You need to use Octane with Docker for now to use MongoDB. The static binary doesn't support Mongo yet. We could add support for Mongo for the static binary on Linux, but not for macOS yet: https://static-php.dev/en/guide/extensions.html |
4 replies
|
Does anyone have any idea what it could be? |
0 replies
|
Thank you very much. I just bought MongoDB and want to use it as soon as possible. I searched for a long time and finally found the reason here Can you provide a static binary for Linux with MongoDB support? I'm using PHP version 8.4. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
I ran into similar problem like someone else as well (mongodb/laravel-mongodb#2701), that running Laravel Octane with FrankenPHP. Seems like MongoDB extension does not work with FrankenPHP. I have tested with Roadrunner and Swole also, but it worked perfectly fine with them.
Reproduction:
Class "MongoDB\Driver\Manager" not found..I have checked with
php -mandphpinfo()that mongodb extension is enabled/activated.I have not found any related docs or code to solve this issue. Maybe it'll be a pinpoint for someone as well. Any thought from community?
All reactions