title: Using pecl to install the Mongodb driver on OS X El Capitan (v10.11.1)
body: <p>I am trying to install the php mongo driver for OS X. I've tried following <a href="http://jafdip.com/how-to-install-mongodb-and-the-php-mongo-drive-on-mac-os-x-snow-leopard-server/" rel="noreferrer">these instructions</a> to no avail.</p>
  <p><code>$ which pecl</code> -&gt; <code>/usr/local/Cellar/php56/5.6.13_2/bin/pecl</code></p>
  <p><code>$ sudo pecl install mongo</code> -&gt; full build results <a href="https://goo.gl/XvQJl0" rel="noreferrer">here</a> but the problem the is the error:</p>
  <pre><code>In file included from /private/tmp/pear/install/mongo/io_stream.c:34:
  /private/tmp/pear/install/mongo/contrib/php-ssl.h:33:10: fatal error: 'openssl/evp.h' file not found
  #include &lt;openssl/evp.h&gt;
  </code></pre>
  <p>My Xcode command-line tools are up to date (I used <code>$ xcode-select --install</code> to be sure).</p>
  <p>I'm sure how to fix this problem.</p>