by Luis de Vasconcelos.
Then the problem is in your php.ini file.
Run PHPInfo() and see if the output contains a section for MSSQL and/or SQLSRV. If it doesn't then your PHP setup hasn't loaded the MSSQL and/or SQLSRVdrivers, meaning that there's something wrong with the PHP config.