title: MongoDB php extension not working on windows 7
body: <p>I want to use <code>MongoDB</code> with <code>PHP5.5</code> on <code>Wampserver 2.5</code> but I can't get it working. I've setup MongoDB 2.6.3 config file using <a href="http://www.mkyong.com/mongodb/how-to-install-mongodb-on-windows/" rel="nofollow">this</a> tutorial and ran the <code>mongod.exe --install --config 'config_path'</code> and added the path to enviroment variables and it seems that MongoDB service is installed and is working just fine. I've also copied the thread-safe mongodb php driver into php's <code>ext</code> folder and added the <code>extension=php_mongo.dll</code> to both <code>php.ini</code> files in <code>apache/apache2.4.9/bin/</code> and <code>php/php5.5.12</code> folders. When I run wampserver <a href="http://up.vbiran.ir/uploads/30733140471586041393__mongo_warning.png" rel="nofollow">there's a warning sign</a> next to <code>php_mongo</code> extension. The problem is that I've tried installing x64 version of wampserver and MongoDB but didn't make any difference and I don't get any errors in the logs relating to this problem.</p>
  
  <p>I've also read that using the Non-thread-safe version of the driver fixes the problem. But when I use it I get this error while starting wampserver:</p>
  
  <pre><code>The program can't start because php5.dll is missing from you computer.
  Try reinstalling the program to fix this problem.
  
  PHP Startup: Unable to load dynamic library
  'c:/wamp/bin/php5.5.12/ext/php_mongo.dll' - The specified module could not be found.
  </code></pre>
  
  <p>Here's the set of software that I'm using:</p>
  
  <ul>
  <li>Windows 7 Ultimate 64-bit</li>
  <li>Wampserver 2.5 x86 version (PHP 5.5.12)</li>
  <li>MongoDB win32-i386-2.6.3 (x86)</li>
  <li>php_mongo-1.5.4-5.5-vc11.dll PHP Driver</li>
  </ul>
  
  <p>And just to mention, mongodb in installed in <code>c:\mongodb\</code> and wampserver is installed in <code>c:\wamp</code></p>
  
  <p>I appreciate any help on this.</p>
  
  <p><strong>EDIT:</strong> Problem didn't go away, so I had to search for another webserver and I found zWamp which is a php/mysql/apache/mongodb stack and it works!</p>