Jump to content

mssql_connect


mATOK

Recommended Posts

Hi there,

I am trying to connect to a Microsoft SQL server 2005 (IIS 6.0) using mssql_connect and I am returned:

[b]Fatal error: Call to undefined function: mssql_connect() [/b]

I am running PHP V 4.3.4

I tried adding the extension in the php.ini file but when I do Apache/1.3.29  does not load....

please help  ???
Link to comment
https://forums.phpfreaks.com/topic/22259-mssql_connect/
Share on other sites

Have a read of this [url=http://www.phpfreaks.com/forums/index.php/topic,95378.0.html]FAQ[/url].

NOTE: That FAQ is for the mysql extension. However you can still follow it to enable the mssql extension. The mssql extension is called php_mssql.dll. Also you need to copy a file called ntwdblib.dll from MS SQL to the php installation folder, or the Windows follder (WINNT or WINNT/SYSTEM32). Have a read of [url=http://uk.php.net/manual/en/ref.mssql.php]this page[/url] for more info.
Link to comment
https://forums.phpfreaks.com/topic/22259-mssql_connect/#findComment-99711
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.