title: How to asyncrhonously execute a MSSQL stored procedure without blocking PHP?
body: <p>We have a PHP application that needs to execute some routines in MSSQL, using sqlsrv driver.</p>
  
  <p>We're developing a solution that, using AJAX, will monitor that execution and keep user updated of the progress.</p>
  
  <p>Currently it's implemented in a stored procedure. But when PHP executes it, it stays blocked until a time out exception is thrown. We need PHP to execute it and immediately return, leaving the SP running.</p>
  
  <p>Is there any option that allows <code>sqlsrv_query()</code> or another function to execute asynchronously?</p>