title: How to install phpseclib?
body: <p>I have installed Apache on my machine so I can use localhost as a PHP server. That works. Right now I am trying to use PHP to send files via SFTP to another server. I looked around a bit and saw phpseclib was recommended. I can't seem to figure out how to install phpseclib. Here are the lines that the website gave:</p>
  
  <pre><code>set_include_path(get_include_path() . PATH_SEPARATOR . 'phpseclib');
  include('Net/SFTP.php');
  </code></pre>
  
  <blockquote>
    <p>You have to set the include path.</p>
  </blockquote>
  
  <p>I understand what these words mean but I have been unable to get it working. I am using a mac. My server is in <code>/Users/diego/Sites/</code>.  Where exactly do I need to put the <code>phpseclib</code> folder? What lines do I need to put in my php file so that <code>phpseclib</code> is included?</p>