<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Installing the MongoDB PHP Driver on Windows</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mongodb.installation.homebrew.html">Installing the MongoDB PHP Driver on macOS with Homebrew (deprecated)</a></div> <div class="next" style="text-align: right; float: right;"><a href="mongodb.installation.manual.html">Manually Installing the MongoDB PHP Driver</a></div> <div class="up"><a href="mongodb.installation.html">Installation</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="mongodb.installation.windows" class="section"> <h2 class="title">Installing the MongoDB PHP Driver on Windows</h2> <p class="para"> Precompiled binaries for each release are available from <a href="http://pecl.php.net/package/mongodb" class="link external">» PECL</a> for a variety of combinations of versions, thread safety, and VC libraries. Extract the archive and put <var class="filename">php_mongodb.dll</var> in your PHP extension directory ("ext" by default). </p> <p class="para"> Add the following line to your <var class="filename">php.ini</var> file: <div class="example-contents"> <div class="inicode"><pre class="inicode">extension=php_mongodb.dll</pre> </div> </div> </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mongodb.installation.homebrew.html">Installing the MongoDB PHP Driver on macOS with Homebrew (deprecated)</a></div> <div class="next" style="text-align: right; float: right;"><a href="mongodb.installation.manual.html">Manually Installing the MongoDB PHP Driver</a></div> <div class="up"><a href="mongodb.installation.html">Installation</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>