Here is my setup
I had the same issue. Running a legacy 5.6 php x64 which needed the interface because of the hard RAM restrictions 32 bits give.
The solution was in the unoffical driver offered by Rob.
https://robsphp.blogspot.nl/2012/06/unofficial-microsoft-sql-server-driver.html
I tested it out, and it works properly with 5.6.33 x64
I don't know if it helps but i used all 32bit on my Windows 7 64bit system
Here is what I used and i can use SQL Server
httpd-2.4.6-win32-VC9 //apache 2.4
php-5.4.9-Win32-VC9-x86 //php5
inside if my \php\
folder i have
Inside \php\ext\
i have
I added this to the end of php.ini
[PHP_SQLSRV]
extension=php_sqlsrv_54_ts.dll
[PHP_PDO_SQLSRV]
extension=php_pdo_sqlsrv_54_ts.dll
I remember it being a right pain getting it to work but it does now. If i remember anymore i'll edit my answer
UPDATE:
I think this blog post looks familiar on how i got it working
http://robsphp.blogspot.co.uk/2012/09/how-to-install-microsofts-sql-server.html
currently Microsoft sqldriver only works for 32bit php version. Here is my steps to install sql drivers.
Sqlsrv requires php x86. This message appears when php is 64 bit architecture.