Buongiorno a tutti,
Vorrei realizzare un ecommerce con laravel, che già utilizzo con mysql, e passare ad utilizzare mongodb.
Ho cercato in rete ed ho trovato varie soluzioni.
Ho provato conma ottengo questi errori:codice:composer require mongodb/mongodb
Non riesco a capire come risolvere...qualcuno può aiutarmi? Poi una curiosità..è possibile utilizzare contemporaneamente mysql e mongodb?codice:Using version ^1.6 for mongodb/mongodb ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - mongodb/mongodb 1.6.0 requires ext-mongodb ^1.7 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb v1.7.x-dev requires ext-mongodb ^1.8 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb v1.6.x-dev requires ext-mongodb ^1.7 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.8.x-dev requires ext-mongodb ^1.8 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.7.0-beta1 requires ext-mongodb ^1.8 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.6.0 requires ext-mongodb ^1.7 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.6.0 requires ext-mongodb ^1.7 -> the requested PHP extension mongodb is missing from your system. - Installation request for mongodb/mongodb ^1.6 -> satisfiable by mongodb/mongodb[1.6.0, 1.7.0-beta1, 1.8.x-dev, v1.6.x-dev, v1.7.x-dev]. To enable extensions, verify that they are enabled in your .ini files: - C:\xampp\php\php.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode. Installation failed, reverting ./composer.json to its original content.
Grazie a tutti per l'aiuto

Rispondi quotando
