title: How do I connect mssql with PDO using php 5.4.19
body: <p>I am gettin following error when I connect to mssql </p>
  
  <blockquote>
    <p>Uncaught exception 'PDOException' with message 'SQLSTATE[IMSSP]: This extension requires the Microsoft SQL Server 2012 Native Client ODBC Driver to communicate with SQL Server</p>
  </blockquote>
  
  <p>And  I am using </p>
  
  <pre><code>$db = new PDO("sqlsrv:server=127.0.0.1;database=test;", "sa", "mypassword");
  </code></pre>
  
  <p>I have also added driver in <code>C:\xampp\php\ext</code> and set that extension <code>in php.ini file</code> 
      [PHP_PDO_MSSQL]
      extension=php_pdo_sqlsrv_54_ts.dll</p>
  
  <p>I have tried several tutorials, what exactly I am doing, Please tell what I am doing wrong?                                                                       </p>