I am using the current code in attempt to access a msSQL 2005 db:
Download the driver in this site http://www.microsoft.com/en-us/download/details.aspx?id=20098, then open your php.ini file and add the DLL that you download.