title: how to get older versions of mongodb?
body: <p>So I did <code>sudo apt-get install php5-mongo</code> and when I do <code>composer require "mongodb/mongodb=~1.0.0"</code> I get this:</p>
  
  <pre><code>  Problem 1
      - Installation request for mongodb/mongodb ~1.0.0 -&gt; satisfiable by mongodb/mongodb[1.0.0].
      - mongodb/mongodb 1.0.0 requires ext-mongodb ^1.1.0 -&gt; the requested PHP extension mongodb is missing from your system.
  </code></pre>
  
  <p>When I do <code>dpkg -s php5-mongo</code> I get this:</p>
  
  <pre><code>Package: php5-mongo
  Status: install ok installed
  Priority: optional
  Section: php
  Installed-Size: 326
  Maintainer: Ubuntu Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt;
  Architecture: amd64
  Source: php-mongo
  Version: 1.4.5-1build1
  Depends: libc6 (&gt;= 2.15), phpapi-20121212
  Conffiles:
   /etc/php5/mods-available/mongo.ini f2a4848fe0856c5bbaf2afc4aee7a1b9
  Description: MongoDB database driver
   This package provides an interface for communicating with the MongoDB database
   in PHP.
  Original-Maintainer: Laszlo Boszormenyi (GCS) &lt;gcs@debian.org&gt;
  Homepage: http://www.mongodb.org/display/DOCS/PHP+Language+Center
  </code></pre>
  
  <p>So is the problem my ext-mongodb install is too new? Based on the output of dpkg I'd guess I'm running ext-mongodb 1.4.5 instead of the 1.1.0 required by <a href="https://github.com/mongodb/mongo-php-library" rel="nofollow">https://github.com/mongodb/mongo-php-library</a></p>
  
  <p>edit: <code>echo phpversion('mongo')</code> gets me 1.4.5 as well.</p>