I am newbie to php , I am trying to run laravel project with mongodb , but i am unable to install mongodb 1.60 php driver
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 has the wrong version (1.3.4) installed. - Installation request for mongodb/mongodb 1.6.0 -> satisfiable by mongodb/mongodb[1.6.0].
I tried this command
sudo apt-get install php-mongodb
this commands installs mongodb php-mongodb_1.3.4-1build1 .
when i tried to install 1.6 , response says 1.6 version not found
sudo apt-get install php-mongodb
E: Version '1.6' for 'php-mongodb' was not found
can anyone please help here.