1

I want to install a package using composer for my PHP project.

I tried this first:

composer require jenssegers/mongodb --ignore-platform-reqs

But it doesn't work with this method. Therefore, I removed the mongodb and after install again.

But it doesn't work this method.

composer install

Problem 1
    - Installation request for mongodb/mongodb 1.4.2 -> satisfiable by mongodb/mongodb[1.4.2].
    - mongodb/mongodb 1.4.2 requires ext-mongodb ^1.5.0 -> the requested PHP extension mongodb is missing from your system.
  Problem 2
    - mongodb/mongodb 1.4.2 requires ext-mongodb ^1.5.0 -> the requested PHP extension mongodb is missing from your system.
    - jenssegers/mongodb v3.5.0 requires mongodb/mongodb ^1.0.0 -> satisfiable by mongodb/mongodb[1.4.2].
    - Installation request for jenssegers/mongodb v3.5.0 -> satisfiable by jenssegers/mongodb[v3.5.0].
Cato Minor
  • 2,992
  • 3
  • 29
  • 42
Kerim Kuşcu
  • 417
  • 4
  • 12

0 Answers0