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

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

check if you have the latest version of the ntwdblib.dll library (2000.80.194.0)

 

i have some ms sql connections problems that i solved with this!

 

download the library here (http://www.dlldll.com/ntwdblib.dll_download.html)

 

Thanks djclaux. My problem solved

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.