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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.