Rather you than me.

Warning: mssql_connect(): Unable to connect to server: (localhost) in /var/www/database/mssql/common.php on line 10

Try and unfuck your database using a handy reference guide