title: sqlsrv hangs in windows with php 5.4
body: <p>I know this was asked alot of times but all the answers are outdated.</p>
  
  <p>As of PHP 5.3, as we all know mssql is <strong>not</strong> supported, so went on installing Microsoft's <a href="http://www.microsoft.com/en-us/download/details.aspx?id=20098" rel="nofollow">sqlsrv</a>
  driver for this, as it seems to be the only option out there (I'm open to suggestions!).</p>
  
  <p>Now I'm using PHP 5.4 on a Windows server 2003, SQL Server 2005 with IIS as webserver.</p>
  
  <p>I've followed about a million guides and i've installed everything accordingly, but the driver just wont load, <code>sqlsrv</code> won't show on <code>phpinfo()</code> or it hangs.</p>
  
  <p>This is what i've done in php.ini :</p>
  
  <pre><code> extension=php_sqlsrv_54_nts.dll
  </code></pre>
  
  <p>And the <code>extension_dir</code> is set to <code>C:\PHP\ext</code>, though phpinfo() shows its loading a php.ini file from progrem files, so i'm editing 2 php.ini files every time as i'm not sure which one is active.
  For the same reason i've put the dll files in both locations.</p>
  
  <p>There is no information for this problem!
  all the solutions are for people who have used the wrong versions, etc.</p>
  
  <p>I've tried applying every single dll and all with the same result, including Threaded and non-threaded.</p>
  
  <p>What can i do?</p>