title: PHP extension installed but not loading
body: <p>I'm trying to install php's ssh2 extension, and having a little bit of difficulty.  The file is there, it's just not loading into php.</p>
  
  <p>First, I've installed ssh2 with:</p>
  
  <pre><code> aptitude install libssh2-1-dev libssh2-php
  </code></pre>
  
  <p>(For what it's worth, I'm running Ubuntu 12.04 on Nginx.)</p>
  
  <p>I can see that ssh2 is loaded using the modules command:</p>
  
  <pre><code>php -m |grep ssh2
  ssh2
  </code></pre>
  
  <p>However, when I run my code, I get an undefined function error.</p>
  
  <p>In my phpinfo() script, I can see that my php installation scans this directory for additional ini files: /etc/php5/fpm/conf.d. Listing the contents of that directory, I can see that my ssh2.ini is there:</p>
  
  <pre><code>ls /etc/php5/fpm/conf.d
  mysqli.ini  mysql.ini  pdo.ini  pdo_mysql.ini  ssh2.ini  
  </code></pre>
  
  <p>According to phpinfo again, the other four ini files are loaded. SSH2 is not. </p>
  
  <p>I've also tried placing "extension=ssh2.so" directly in my php.ini file - /etc/php5/fpm/php.ini.  And yes - I've restarted my nginx server.</p>
  
  <p>Am I missing something else?  </p>