S
S
Sergey2014-08-03 12:08:36
linux
Sergey, 2014-08-03 12:08:36

How to update php version of mongo driver in ubuntu?

In general, I have a driver 1.5.4
I want the latest version.
apt-get install php5-mongo installed it just right for me!
I removed it via apt-get remove and installed via pecl
Reloaded php-fpm
I see 1.5.4 again in phpinfo()
According to the documentation there is at least 1.5.5 for sure, if not more.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2014-08-03
@butteff

Apparently, version 1.5.5 is not yet in the repository, since it was released in the 2014-07-30 release :
pecl.php.net/package/mongo
repositories.
You can read how to assemble by hand here:
ru2.php.net/manual/en/mongo.installation.php In
principle, nothing complicated, you just need to look at the output ./configurefor missing libraries (often these are *-dev packages). They can usually be delivered via apt .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question