title: PHP 5.4 & MSSQL - Wampserver
body: <p>I am trying to update my PHP, MSSQL functions to the newer ones which are supported by PHP 5.4. I have done everything and searched everywhere but I just can't get it to work.</p>
  
  <p>I have installed WampServer 32 Bit to my C: drive and I have installed SQL drivers for PHP. I have made sure that the package I chose was 3.0 (<a href="http://www.microsoft.com/en-gb/download/details.aspx?id=20098" rel="nofollow">http://www.microsoft.com/en-gb/download/details.aspx?id=20098</a>) and I installed them correctly. I put the 'php_sqlsrv_54_ts.dll' into the ext folder which is in wamp/bin/php/ext and I added the 'extension=php_sqlsrv_54_ts.dll' to the php.ini file which is in wamp/bin/php.</p>
  
  <p>Next I started all the services successfully and then went to my local host to find out that I was receiving this error:</p>
  
  <p><code>Call to undefined function sqlsrv_connect() in C:\wamp\www\launcher\Login2.php on line 11</code></p>
  
  <p>Further Information:</p>
  
  <pre><code>Running Windows 7 SP1 Ultimate 64 bit
  Download Wamp Server 2 for 32 Bit
  Apache : 2.4.4 
  MySQL : 5.6.12 
  PHP : 5.4.16 
  PHPMyAdmin : 4.0.4 
  SqlBuddy : 1.3.3 
  XDebug : 2.2.3
  Running it on my localhost/127.0.0.1
  Using port 8080 in Apache
  Enabled pdo extensions in php.
  Using the php_sqlsrv_54_ts.dll
  Restarted Wamp several times.
  </code></pre>