PHP 5.4 getting MSSQL to work

apache-2.2PHPsql server

I'm running Apache and PHP 5.4.3. I have a script that uses mssql_connect. When I execute the script I get: Fatal error: Call to undefined function mssql_connect(). I cannot use sqlsrv. I copied the file to ntwdblib.dll and mssql is not commented in php.ini. Any way around this? Thanks!

Best Answer

My understanding is in PHP5.3+ it was removed. SQLSRV is your only option in a windows environment.

http://www.php.net/manual/en/intro.mssql.php