title: php sql server connection string .. different port
body: <p>i change xampp port number 80 to 8012 after this connection getting failed. </p>
  
  <pre><code>$serverName = "test"; 
  $connectionInfo = array("Database"=&gt;"db_test", 
     "UID"=&gt;"user_test", 
     "PWD"=&gt;"test_pass"
  ); 
  $conn = sqlsrv_connect($serverName,$connectionInfo);
  </code></pre>
  
  <p>how can i fixed it?</p>