This repository has been archived by the owner on Nov 11, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update composer.json for Mongo driver 1.2.12 compatibility
- Loading branch information
5b08a48
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is breaking my ability to use doctrine/mongodb.
i currently have ext-mongo 1.2, so i run a composer, it says
"doctrine/mongodb dev-master requires ext-mongo >=1.3.1,<1.4-dev"
so i update ext-mongo to 1.3.1 and run composer again and now it says
"doctrine/mongodb 1.0.0-BETA2 requires ext-mongo >=1.2.12,<1.3-dev"
So I'm kinda screwed because of this change :(
Halp.
5b08a48
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does
pecl install mongo-1.2.12
work?5b08a48
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, because then I get this error from dev-master:
"doctrine/mongodb dev-master requires ext-mongo >=1.3.1,<1.4-dev"
It's a catch 22.
5b08a48
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You would have to downgrade doctrine/mongodb to 1.0.0-BETA2. The error above looks like it's due to using the master branch, which now requires 1.3.1+ of the PHP driver (which ODM doesn't yet support).