title: PHP PDO SQLSRV - Can't set LoginTimeout
body: <p>I'm using PHP/PDO/SQLSRV to try to connect to a SQL database to see if the box is up and ready to receive DB commands. I want to limit the timeout to 15 seconds, but I'm unable to make the change to <a href="http://msdn.microsoft.com/en-us/library/ff628167%28v=sql.105%29.aspx" rel="nofollow">LoginTimeout</a> work:</p>
  
  <pre><code>set_time_limit(120);
  $dsn = "sqlsrv:Server=SERVER_NAME;Database=DB_NAME;LoginTimeout=15";
  $conn = new PDO($dsn, 'USER', 'PASS');
  
  echo "&lt;pre&gt;";
  var_dump($conn);
  echo "&lt;/pre&gt;";
  exit;
  </code></pre>
  
  <p>This call takes over 30 seconds to execute. I want it to stop after 15. What am I not setting properly? (PDO::ATTR_TIMEOUT doesn't work for SQLSRV)
  Please help!</p>