How can i access my remote MSSQL?

I want to access from my remote MSSQL to test.php of my dreamhost account.

So i searched the dreamhost website . As a result, I must install the custom PHP5.

So i installed it, and checked the PHP5 ver.5.3.1.
but I can’t access my remote MSSQL.

After the PHP5 installed, How can I access the MSSQL?

Please, Let me know~!