jdorn / php-reports

A PHP framework for displaying reports from any data source, including SQL and MongoDB
http://jdorn.github.com/php-reports
GNU Lesser General Public License v3.0
478 stars 235 forks source link

PHP-Reports installation dependencies #265

Open kvishnivetsky opened 6 years ago

kvishnivetsky commented 6 years ago

Hi,

I'm installing PHP-Reports softwar and composer says:

  Problem 1
    - Installation request for alcaeus/mongo-php-adapter 1.1.x-dev -> satisfiable by alcaeus/mongo-php-adapter[1.1.x-dev].
    - alcaeus/mongo-php-adapter 1.1.x-dev requires ext-mongodb ^1.2.0 -> the requested PHP extension mongodb is missing from your system.
  Problem 2
    - Installation request for alcaeus/mongo-php-adapter dev-master -> satisfiable by alcaeus/mongo-php-adapter[dev-master].
    - alcaeus/mongo-php-adapter dev-master requires ext-mongodb ^1.2.0 -> the requested PHP extension mongodb is missing from your system.
  Problem 3
    - Installation request for mongodb/mongodb 1.2.x-dev -> satisfiable by mongodb/mongodb[1.2.x-dev].
    - mongodb/mongodb 1.2.x-dev requires ext-mongodb ^1.2.0 -> the requested PHP extension mongodb is missing from your system.
  Problem 4
    - Installation request for mongodb/mongodb dev-master -> satisfiable by mongodb/mongodb[dev-master].
    - mongodb/mongodb dev-master requires ext-mongodb ^1.2.0 -> the requested PHP extension mongodb is missing from your system.

Is it possible skip Mongo installation or it is vital? I will use MySQL, but not MongoDB in my project.

Thanks!

Petah commented 6 years ago

FYI you can run composer install --ignore-platform-reqs

https://getcomposer.org/doc/03-cli.md

R1W2 commented 4 years ago

Petah, Thank you. I would welcome having this option on the main install instructions to help future users. RW