Skip to content

Doesn't work with MongoDB extension on PHP7. #29

@hpolonkoev

Description

@hpolonkoev

Hello guys,

Thank you for your efforts developing the tool.
Unfortunately it doesn't work on my current local configuration. I am getting message

PHP cannot access MongoDB, you need to install the Mongo extension for PHP.

Configuration:

  • PHP 7.0
  • Apache 2..4.18
  • MongoDB 2.4.10

The extension for PHP 7 I am using is mongodb.so (http://php.net/manual/en/mongodb.installation.pecl.php)
After going through your code, it looks like you are only testing if the mongo extension is available. The second test you doing is on the MongoClient and Mongo classes.
MongoClient is deprecated. (http://php.net/manual/en/class.mongoclient.php)
And I am not sure about Mongo, couldn't figure out how to install it.

If you could update your tool to support the latest MongoDB extension and the latest class http://php.net/manual/en/class.mongodb-driver-manager.php, I would apreciate it.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions