Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Installing dependencies #254

Open
vitalygoji opened this issue Nov 6, 2017 · 3 comments
Open

Error Installing dependencies #254

vitalygoji opened this issue Nov 6, 2017 · 3 comments

Comments

@vitalygoji
Copy link

Do you guys have zip file with php-reports which does not require composer?
I tried to run composer and got error messages.
I just need to try (evaluate) your reports with MySQL as a data source - not ready to go through frustrating Java Project-like setup with unpredictable results.
Please, send me a link to php-reports which I could just use (if you have one)
Thank you!

####################################################
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

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.

root@vitaly-Inspiron-3531:/var/www/html/php-reports-master#

@OisinKyne
Copy link

Try installing the mongo driver for php, that should fix it.

sudo apt install php5-mongo if your php version is 5 or lower.
sudo apt install php-mongodb if your php version is 7.

@Petah
Copy link

Petah commented May 18, 2018

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

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

@fernandoTinelli
Copy link

fernandoTinelli commented Oct 24, 2018

i'm trying to install on windows but im getting the same error. Then i download the php-mongodb.dll, put him on PHP's ext folder and added the line "extension..." on php.ini. After all that, i still getting the same error. What i'm doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants