title: Can't get mongo.so extension to load after updating PHP to 5.3
body: <p>I had PHP 5.2 with MongoDB installed on Debian Lenny x64 and everything was fine.</p>
  
  <p>After updating PHP to 5.3 (dotdeb) I can't get MongoDB to work, I always get an error </p>
  
  <pre><code>Fatal error: Class 'Mongo' not found (...)
  </code></pre>
  
  <p>Everything else works fine, all default modules are working.</p>
  
  <p>My php.ini:</p>
  
  <pre><code>extension_dir = "/usr/lib/php5/20090626"
  extension=mongo.so
  </code></pre>
  
  <p>Mongo.so is in same location as written above.
  But when I run <code>php -m</code> in console to check loaded modules, "mongo" isn't listed there.</p>
  
  <p>I can't use <code>dl('mongo.so')</code> to load module at runtime, because this function was deprecated in PHP 5.3.</p>
  
  <p>May be I should recompile mongo somehow, I just don't know how to do that because I'm not very good in *nix commands.</p>
  
  <p>Thanks for your help!</p>
  
  <p><strong>UPDATE</strong>
  Also may be it's worth saying that before my mongo.so was in <code>/usr/lib/php5/20060613</code> and I manually copied it to <code>"/usr/lib/php5/20090626"</code> because it seems that after updating my PHP all modules are located there.</p>