title: Mssql 2012 with PHP & Mysql to Mssql migration
body: <p>I'm just migrated database from mysql to mssql 2012. After that, i followed below steps to connect with mssql.</p>
  
  <p>I have installed Xampp in my local machine (windows 7 64 bit os).</p>
  
  <pre><code>PHP Version 5.5.11
  
  Apache Version  Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.5.11 
  </code></pre>
  
  <p>Separately installed <code>MSSql 2012</code>.</p>
  
  <p>Now i want to connect php with mssql 2012.
  I got <code>Fatal error: Call to undefined function sqlsrv_connect() .</code></p>
  
  <p>Added php_sql_54.ts.dll and enabled in php.ini. But it says</p>
  
  <pre><code>php startup: sqlsrv: unable to initiate module module complied with module API=20100525
  php complied with module API=20121212 these options need to match
  </code></pre>
  
  <p>then I added php_sql_55_ts.dll in Ext folder.</p>
  
  <p>Next error i got : </p>
  
  <pre><code>The program can't start because MSVCP110.dll is missing from your computer. Try reinsatalling the program
  </code></pre>
  
  <p>Installed C++ tool from microsoft site. Then the final error is : </p>
  
  <pre><code>PHP Startup: unable to load dynamic library php_sqlsrv_55_ts.dll is not a valid win32 application.
  </code></pre>
  
  <p>How to solve it? I need to connect mssql with PHP.</p>
  
  <p>Thanks</p>