Got new task of having to use MSSQL 2005 server to get the data from using PHP.
After googling around then finally got it working.
Basically I got it working using the console.
This is what to do for it to get working.
1. Download the latest ntwdblib.dll from Miscrotf ... just google it.
2.Copy the ntwdblib.dll \PHP\, \window\system32\, \apache\bin\
3. restart the apache service.