Jump to content

Need to establish a connection between PHP and SQL Server2005


tripleM

Recommended Posts

Hi all,

 

I'm running Windows XP, MS Sql 2005, and APACHE2.0.x.  I am trying to connect php to my sql database, and I keep getting the following error from the script below:

 

just when i tried to connect to the server, which is in other system, i am getting following error.

 

Fatal error: Call to undefined function mssql_connect() in Fatal error:

Call to undefined function mssql_connect()

 

MSSQL functions not available. What should i do , to available and execute it succesfully?

 

In simple words, i need connection from PHP to MS SQL Server2005.

 

Thanks,

TripleM

Link to comment
Share on other sites

Did you restart your server after making any changes?

 

What does the output of phpinfo say in regards to the mssql extension?

 

Please find the following lines for MSQL details.

msql-->

MSQL Support  --enabled 

Allow Persistent Links -- yes 

Persistent Links -- 0/unlimited 

Total Links -- 0/unlimited 

Thanks,

tripleM

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.