PHP 5.4 getting MSSQL to work

14,056

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

Share:
14,056

Related videos on Youtube

user1594313
Author by

user1594313

Updated on September 18, 2022

Comments

  • user1594313
    user1594313 over 1 year

    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!

  • user1594313
    user1594313 over 11 years
    whoops, fixed that.
  • user1594313
    user1594313 over 11 years
    Then I will have to use older PHP I guess, thanks!