title: Error while installing mongo driver for PHP on amazon linux
body: <p>I tried to install the mongodb driver for PHP on Amazon Linux. 
  While running <code>sudo pecl install mongo</code>, I get the error message:</p>
  
  <pre><code>fatal error: openssl/evp.h: No such file or directory
   #include &lt;openssl/evp.h&gt;
                           ^
  compilation terminated.
  make: *** [io_stream.lo] Error 1
  ERROR: `make' failed
  </code></pre>
  
  <p>PEAR Version: 1.9.5
  PHP Version: 5.3.29</p>
  
  <p>I installed gcc which helped me progress further with the install till this error.</p>
  
  <p>The best Guide I was able to find was here:
  <a href="http://jonathanhui.com/install-mongodb-amazon-linux" rel="noreferrer">http://jonathanhui.com/install-mongodb-amazon-linux</a>
  PHP's guide: <a href="http://php.net/manual/en/mongo.installation.php" rel="noreferrer">http://php.net/manual/en/mongo.installation.php</a></p>