title: SQLSRV PHP for SQL Server for is not a valid Win32 application
body: <p>Here is my setup</p>
  
  <ul>
  <li>Windows Server 2008 R2 64 bit</li>
  <li>Apache 2.4.4 64 bit</li>
  <li>PHP 5.4.15 32 bit (64 bit is still experimental), thread safe, VC9 compiler</li>
  <li>Microsoft SQL Server 2012 Native Client 64-bit</li>
  <li>Microsoft Visual C++ 2010 x86 and x64</li>
  </ul>
  
  <p>I need to load Microsoft's SQLSRV library.  </p>
  
  <p>I have added 'extension=php_sqlsrv_54_ts.dll' to php.ini and copied 'php_sqlsrv_54_ts.dll' to the ext folder where PHP is installed.</p>
  
  <p>When I restart apache, I get the following error in my php error log, and SQLSRV is not listed in phpinfo.</p>
  
  <pre><code>PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\php5\ext\php_sqlsrv_54_ts.dll' - %1 is not a valid Win32 application.
  </code></pre>
  
  <p>Where am I going wrong?</p>
  
  <p>EDIT
  For testing purposes I've just installed PHP 5.5.10 64 bit and VC 2012 but the error remains the same :(</p>