Y
Y
yaNitik2015-08-23 08:07:36
ubuntu
yaNitik, 2015-08-23 08:07:36

How to install the correct version php5-mongo driver on Ubuntu?

When I look in more detail about the module with the following command
apt-cache show php5-mongo
, information is displayed that the version is 1.4.5built1 of the php5-mongo module
And it is located in the Filename repository: pool/universe/p/php-mongo/php5-mongo_1.4.5-1build1_amd64.deb
I can install it with the following command
sudo apt-get install php5-mongo
But I need version 1.6 because it supports Mongo 3.0
How do I install version 1.6 of the php5-mongo driver with 1-2-3 commands?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Ukolov, 2015-08-23
@alexey-m-ukolov

This, of course, is a bit of a dumb way, but I would download the deb package from here and install it through the application center.

D
Dan Ivanov, 2015-08-24
@ptchol

Collect via pecl.
pecl install mongo

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question