title: How do I force PHP to load without waiting for ssh2
body: <p>Currently I have a script that uses SSH2 to execute a c program on a server, however the webpage takes the x seconds to load that the script waits. Is there a way to make php send the command through ssh and not wait for the response? Thanks
  My current code:</p>
  
  <pre><code>&lt;?php
  $ssh = ssh2_connect('********', 22);
  ssh2_auth_password($ssh, 'root', '**********');
  $stream = ssh2_exec($ssh, './sr1 80 4 400 400 20');
  fclose($stream);
  ?&gt;
  </code></pre>
  
  <p>(Censored server IP and Password for obvious reasons)</p>