Closed mdennisa closed 11 years ago
Your PHP distribution likely isn't loading the extension for the CLI environment. There may be separate INI files for the web/CLI environments. If you can't resolve that, and don't plan on running the application through the CLI webserver, you can remove the extension dependency from composer.json
to get the other dependencies installed.
thanks @jmikola , I'll try to figure out the CLI environment on my system.
meanwhile, I have removed the extension dependency from composer.json
and it works.
I am using
I have changed the PATH , when I run
which php
via terminal it will show to this location /Applications/MAMP/bin/php/php5.4.4/bin/phpbut somehow, when I run
composer install
, this error appeared The requested PHP extension ext-mongo ~1.3 is missing from your system.I tried to run
php -m
, but the mongo didnt show up. I tried alsocomposer show --platform
, and the ext-mongo didnt show up toowhat is the problem ?