PHP has discontinued the MSSQL extension for PHP 5.3+.

Microsoft released an alternative driver, SqlSrv, for MS SQL support for PHP. We have it installed on our Windows PHP 5.3 servers.

For more information and examples on how to connect and execute queries using SqlSrv refer to this TechNet Wiki from Microsoft:

Max M.