Bonjour,

J'essaye actuellement d'ouvrir un projet Laravel + mongodb sur mon Mac, mais j'ai un warning dès que je tape la commande : Composer Install

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20131226/mongodb.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20131226/mongodb.so, 9): image not found in Unknown on line 0
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
    - mongodb/mongodb 1.1.2 requires ext-mongodb ^1.2.0 -> the requested PHP extension mongodb is missing from your system.
    - mongodb/mongodb 1.1.2 requires ext-mongodb ^1.2.0 -> the requested PHP extension mongodb is missing from your system.
    - Installation request for mongodb/mongodb 1.1.2 -> satisfiable by mongodb/mongodb[1.1.2].
 
  To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
J'ai l'impression que le fichier /etc/php.ini est un fichier du serveur Apache d'OSX alors moi je travaille avec Mamp. Je ne sais pas si cela peut avoir une incidence. Merci de votre aide.