Compiling PHP5 with MSSQL functions



I want to host with Dreamhost a website that uses a MSSQL connection, I know that with the default PHP that comes with my dreamhost account I can’t use any mssql function.

But I know that in Dreamhost is possible to compile a custom PHP5 with the mssql functions.

So I would like to know if someone can help me to compile a custom PHP5 with MSSQL by giving a custom php install script and explaining how to use that script (I have read the information about custom php installation in DH’s wiki)

Thank you.