title: PHP function ssh2_connect is not working
body: <p>Following is my script:   </p>
  
  <pre><code>    &lt;?php
      $connection = ssh2_connect('XX.XX.XX.XX', 22);
      ssh2_auth_password($connection, 'root', '******');
  
      $stream = ssh2_exec($connection, 'useradd -d /home/users/test -m testftp');
      $stream = ssh2_exec($connection, 'passwd testftp');
      $stream = ssh2_exec($connection, 'password');
      $stream = ssh2_exec($connection, 'password');
      ?&gt;
  </code></pre>
  
  <p>It showing the following error: </p>
  
  <pre><code>Fatal error: Call to undefined function ssh2_connect() in /home/chaosnz/public_html/fotosnap.net/test.php on line 2
  </code></pre>
  
  <p>How can I deal with this?</p>
  
  <p>Thanks</p>