is MongoDB extension not supported? #584
Unanswered
bornemisza
asked this question in
Q&A
Replies: 3 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 |
Beta Was this translation helpful? Give feedback.
4 replies
-
I'm also going through the same problem. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Does anyone have any idea what it could be? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 -m
andphpinfo()
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?
Beta Was this translation helpful? Give feedback.
All reactions