php-reports icon indicating copy to clipboard operation
php-reports copied to clipboard

Error Installing dependencies

Open vitalygoji opened this issue 7 years ago • 3 comments

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#

vitalygoji avatar Nov 06 '17 03:11 vitalygoji

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.

OisinKyne avatar Dec 11 '17 17:12 OisinKyne

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

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

Petah avatar May 18 '18 04:05 Petah

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?

fernandoTinelli avatar Oct 24 '18 18:10 fernandoTinelli