Skip to content

MongoDB is not working with PHP buildpacks #550

@sl0wik

Description

@sl0wik

MongoDB extension is not working with gcloud builds submit --pack.

Build log:

Warning: PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /layers/google.php.runtime/php/lib/php/extensions/no-debug-non-zts-20240924/mongodb.so (libsnappy.so.1: cannot open shared object file: No such file or directory), /layers/google.php.runtime/php/lib/php/extensions/no-debug-non-zts-20240924/mongodb.so.so (/layers/google.php.runtime/php/lib/php/extensions/no-debug-non-zts-20240924/mongodb.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

I created a simple repository to replicate this issue https://github.com/sl0wik/appengine-mongodb-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions